From 318f35e252f26daf96d27a09856f9a532f02397e Mon Sep 17 00:00:00 2001 From: miro-ring Date: Sat, 16 Dec 2023 10:00:44 +0900 Subject: [PATCH] feat: test --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4cc4956f..f396c22a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -# node.js 압축 이미지를 설치합니다 FROM node:20.10.0-alpine as BUILD -# 이미지 내부 작업 경로를 설정합니다 +RUN npm install -g pnpm + WORKDIR /app COPY . . @@ -11,11 +11,11 @@ RUN pnpm i RUN pnpm build FROM node:20.10.0-alpine + EXPOSE 3000 WORKDIR /app COPY --from=BUILD /app/ . -# 앱 시작 명령어"를 시작합니다. ENTRYPOINT ["pnpm", "start"]