[docker] BuildKit caches break immutable cache, let's stick to immutable lockfile
/ test-build (push) Successful in 1m2s Details

This commit is contained in:
Laura Hausmann 2023-11-19 04:40:44 +01:00
parent e5a003d6fb
commit ed6d5d2db6
Signed by: zotan
GPG Key ID: D044E84C5BE01605
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ COPY . ./
RUN --mount=type=cache,target=/iceshrimp/.yarncache cp -Tr .yarncache .yarn
# Configure corepack and install dev mode dependencies for compilation
RUN corepack enable && corepack prepare --activate && yarn --immutable --immutable-cache
RUN corepack enable && corepack prepare --activate && yarn --immutable
# Save yarn cache
RUN --mount=type=cache,target=/iceshrimp/.yarncache rm -rf .yarncache/* && cp -Tr .yarn .yarncache