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"]