From 5f6f528fbf166a524f447708e1d0b4b8f3766d3c Mon Sep 17 00:00:00 2001 From: Alireza Date: Wed, 8 Jan 2025 14:38:39 -0500 Subject: [PATCH] fix(Dockerfile): Clear bun package manager cache before installation (#4659) --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index c71eb634a..2e7ec3232 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,6 +61,8 @@ ENV PATH=/usr/src/app/node_modules/.bin:$PATH COPY package.json yarn.lock preinstall.js lerna.json ./ COPY --parents ./addOns/package.json ./addOns/*/*/package.json ./extensions/*/package.json ./modes/*/package.json ./platform/*/package.json ./ # Run the install before copying the rest of the files + +RUN bun pm cache rm RUN bun install # Copy the local directory COPY --link --exclude=yarn.lock --exclude=package.json --exclude=Dockerfile . .