Skip to content

Commit

Permalink
try to fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
akmatoff committed Nov 5, 2024
1 parent 379ada3 commit 75f8e69
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 75f8e69

Please sign in to comment.