From 75f8e69a437dc98eab887d009ab6684030b3e93e Mon Sep 17 00:00:00 2001 From: akmatoff Date: Tue, 5 Nov 2024 17:37:40 +0600 Subject: [PATCH] try to fix again --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7b0273a..9e37cd4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM node:20.18.0-slim AS base RUN corepack enable -RUN corepack prepare pnpm@latest --activate +RUN corepack prepare pnpm@9.12.1 --activate WORKDIR /backoffice @@ -23,11 +23,9 @@ FROM base AS production ENV NODE_ENV=production -RUN pnpm setup +RUN npm install -g serve -RUN pnpm install -g serve - -RUN pnpm run build +RUN npm run build EXPOSE 4000