From 2ff05f9255f579bf7c7a859df4069c6c2c062fb7 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 3 Jan 2024 07:37:37 +0000 Subject: [PATCH] e --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b75fb59..7d71f59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,9 @@ ENV NODE_ENV=production WORKDIR /usr/src/app COPY ["package.json", "pnpm-lock.yaml", "./"] - -RUN pnpm install --production --silent && mv node_modules ../ - COPY . . -#RUN chown -R node /usr/src/app -#USER node +RUN pnpm install --production --silent RUN pnpm run build