From 21abcba47392959b51cda7fb2bb1ce287081e6fd Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Sat, 10 Sep 2022 17:36:51 +0200 Subject: [PATCH] Updated dockerfile --- Dockerfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index d1f291f..870dd65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,8 @@ FROM node:18 -RUN npm install -g pnpm - WORKDIR /app -# pnpm fetch richiede solo il file lock -COPY pnpm-lock.yaml ./ - -RUN pnpm fetch --prod - COPY . ./ -RUN pnpm install -r --offline --prod +RUN npm install -CMD ["pnpm", "run", "build"] +CMD ["npm", "run", "build"]