Skip to content

Commit

Permalink
node_modulesの中身きれいにする
Browse files Browse the repository at this point in the history
  • Loading branch information
na2na-p committed May 27, 2024
1 parent a7e84a7 commit 85a7d61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infra/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ RUN apt-get update \
USER jetdisc
WORKDIR /jetdisc

COPY --chown=jetdisc:jetdisc --from=builder /jetdisc/node_modules ./node_modules
COPY --chown=jetdisc:jetdisc --from=builder /jetdisc/built ./built
COPY --chown=jetdisc:jetdisc . ./

ENV NODE_ENV=production

RUN pnpm i --prod --frozen-lockfile

ENTRYPOINT ["/usr/bin/tini", "--"]
CMD ["pnpm", "run", "start"]

0 comments on commit 85a7d61

Please sign in to comment.