Skip to content

Commit

Permalink
build: use --ignore-scripts flag when pnpm install prod
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Dec 11, 2024
1 parent 135d886 commit 9ae8941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile.ui.prod
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ WORKDIR /app

FROM base AS manager-frontend
COPY frontend/package.json frontend/pnpm-lock.yaml ./
RUN pnpm install
RUN pnpm install --ignore-scripts
COPY frontend/ .
RUN pnpm run build --mode ${NODE_ENV}


FROM base AS mapper-frontend
COPY mapper/package.json mapper/pnpm-lock.yaml ./
RUN pnpm install
RUN pnpm install --ignore-scripts
COPY mapper/ .
RUN pnpm run build --mode ${NODE_ENV}

Expand Down

0 comments on commit 9ae8941

Please sign in to comment.