Install pnpm deps at the beginning
ci/woodpecker/push/ociImagePush Pipeline failed
Details
ci/woodpecker/push/ociImagePush Pipeline failed
Details
This commit is contained in:
parent
8b83350651
commit
74c9d3b5e3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue