From ed6d5d2db6e29f637b9f3e94a7edf2f42deea5cc Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sun, 19 Nov 2023 04:40:44 +0100 Subject: [PATCH] [docker] BuildKit caches break immutable cache, let's stick to immutable lockfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 69fc49efb..1529a3f21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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