mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-30 15:58:05 +09:00
[docker] BuildKit caches break immutable cache, let's stick to immutable lockfile
This commit is contained in:
parent
e5a003d6fb
commit
ed6d5d2db6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user