Install pnpm deps at the beginning
ci/woodpecker/push/ociImagePush Pipeline failed Details

This commit is contained in:
Natty 2023-11-05 22:36:09 +01:00
parent 8b83350651
commit 74c9d3b5e3
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,9 @@ RUN update-ca-certificates
RUN apt update
RUN apt install -y git nodejs npm
RUN npm install -g corepack
RUN corepack enable && corepack prepare pnpm@latest --activate
WORKDIR /magnetar/fe_calckey/frontend
RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm i --frozen-lockfile
ENV USER=magnetar
ENV UID=10001
@ -26,7 +28,6 @@ RUN cargo build --release --locked --workspace --bins
WORKDIR /magnetar/fe_calckey/frontend
RUN pnpm i --frozen-lockfile
RUN env NODE_ENV=production sh -c "pnpm run build && pnpm run gulp"
FROM docker.io/debian:bullseye-slim