Skip to content

Commit

Permalink
feat: 하나의 도커 파일로 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
miro-ring committed Mar 23, 2024
1 parent 2b4dfe3 commit 8a4f03e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM node:20-alpine AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
ARG PORT
ENV PORT ${PORT}

RUN corepack enable
COPY . /app
Expand All @@ -18,4 +19,4 @@ FROM base
COPY --from=prod-deps /app/node_modules /app/node_modules
COPY --from=build /app/ .
EXPOSE ${PORT}
CMD [ "pnpm", "start" ]
CMD pnpm start -p ${PORT}
22 changes: 0 additions & 22 deletions Dockerfile.sandbox

This file was deleted.

0 comments on commit 8a4f03e

Please sign in to comment.