From 12d2417c7eee8f8fc472945a4fc3cdf13723dabb Mon Sep 17 00:00:00 2001 From: soyeonkim0227 Date: Wed, 6 Dec 2023 15:27:35 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=80=20::=20chore=20::=20update=20Docke?= =?UTF-8?q?rfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2a45ac1..e98e852 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,12 +26,8 @@ RUN npm ci --only=production --force && npm cache clean --force FROM node:18-alpine AS deploy WORKDIR /usr/src/app -ARG NODE_ENV=production -ENV NODE_ENV=${NODE_ENV} - COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules COPY --chown=node:node --from=build /usr/src/app/dist ./dist -COPY --chown=node:node .${NODE_ENV}.env /usr/src/.${NODE_ENV}.env EXPOSE 8080 CMD ["node", "dist/main.js"] \ No newline at end of file