Skip to content

Commit

Permalink
chore: [FOLIO-3] Update dockerfile #3
Browse files Browse the repository at this point in the history
  • Loading branch information
YerangPark committed Aug 23, 2024
1 parent 3e9d887 commit 43912a0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Node.js의 경량 버전을 베이스 이미지로 사용합니다.
FROM node:20-alpine
# 운용할 배포 서버(랴즈)가 aarch64 플랫폼, Node.js의 경량 버전을 베이스 이미지로 사용합니다.
FROM --platform=linux/arm64 node:20-alpine

# 앱 디렉토리를 생성하고, 작업 디렉토리로 설정합니다.
WORKDIR /app
Expand All @@ -19,8 +19,5 @@ RUN npm run build
# 애플리케이션 포트를 노출합니다.
EXPOSE 3000

# 운용할 배포 서버(랴즈)가 aarch64 플랫폼이
FROM --platform=linux/arm64 ubuntu:latest

# 앱을 시작하는 명령어입니다.
CMD ["npm", "start"]

0 comments on commit 43912a0

Please sign in to comment.