Skip to content

Commit

Permalink
fix(ci): ensure that pnpm version is respected
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Dec 15, 2024
1 parent 5b7ee65 commit 042b8fc
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
@@ -1,12 +1,10 @@
FROM node:22.11.0-alpine3.20 AS build
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable pnpm
WORKDIR /app
COPY pnpm-lock.yaml .
RUN pnpm fetch
COPY package.json .
RUN pnpm install --offline
RUN pnpm install
COPY . .
ENV PUBLIC_ORIGIN=https://spectro.fly.dev
RUN pnpm build
Expand Down

0 comments on commit 042b8fc

Please sign in to comment.