Skip to content

Commit

Permalink
πŸ‘€ :: chore :: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
soyeonkim0227 committed Dec 6, 2023
1 parent 0ee1873 commit 12d2417
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 12d2417

Please sign in to comment.