1
0

feat: possible fix for pnpm ci errors

This commit is contained in:
Dominik Pschenitschni
2022-09-24 18:34:24 +02:00
parent 069d03932d
commit e8f0b56651
2 changed files with 11 additions and 11 deletions

View File

@ -21,16 +21,16 @@ COPY pnpm-lock.yaml ./
RUN \
# https://pnpm.io/installation#using-corepack
corepack enable && \
corepack prepare pnpm@7.9.3 --activate && \
corepack prepare pnpm@7.12.2 --activate && \
# Build the frontend
pnpm fetch
pnpm fetch --prod
ADD . ./
RUN apk add --no-cache git
RUN \
pnpm install --offline && \
pnpm install -r --offline --prod && \
echo '{"VERSION": "'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'"}' > src/version.json && \
pnpm run build