Skip to content

Commit

Permalink
build: enforce pnpm v9.3.0 for frontend dep install
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jun 24, 2024
1 parent 8b4e2e9 commit c91b665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/frontend/debug.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /app
COPY ./package.json ./pnpm-lock.yaml ./
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack enable && corepack use [email protected]
RUN pnpm install
ENV NODE_ENV development
ENTRYPOINT ["pnpm", "run", "dev"]
2 changes: 1 addition & 1 deletion src/frontend/prod.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /app
COPY ./package.json ./pnpm-lock.yaml ./
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack enable && corepack use [email protected]
RUN pnpm install

ARG NODE_ENV
Expand Down

0 comments on commit c91b665

Please sign in to comment.