Skip to content

Commit

Permalink
add production to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 committed Nov 1, 2024
1 parent c06d369 commit bda0843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM base AS build
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm run build

FROM base
FROM base AS production
COPY --from=prod-deps /app/node_modules /app/node_modules
COPY --from=build /app/dist /app/dist
CMD [ "pnpm", "start" ]

0 comments on commit bda0843

Please sign in to comment.