From 85a7d61fa97bafde76ba3f38983c593baa65361d Mon Sep 17 00:00:00 2001 From: na2na-p Date: Mon, 27 May 2024 22:55:03 +0900 Subject: [PATCH] =?UTF-8?q?node=5Fmodules=E3=81=AE=E4=B8=AD=E8=BA=AB?= =?UTF-8?q?=E3=81=8D=E3=82=8C=E3=81=84=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- infra/docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infra/docker/Dockerfile b/infra/docker/Dockerfile index a3feda49..faa6891a 100644 --- a/infra/docker/Dockerfile +++ b/infra/docker/Dockerfile @@ -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"]