From 8401feed21b897ed8f936921eacca8afc386e451 Mon Sep 17 00:00:00 2001 From: Moin Ahmad Date: Sat, 17 Jan 2026 18:30:06 +0530 Subject: [PATCH] remove bun cache from production image to optimize the space --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 10e0d122..f1d1b48b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,7 +98,7 @@ ENV NODE_ENV="production" WORKDIR /app COPY --from=builder /app/package.json ./ -RUN bun install --production --frozen-lockfile +RUN bun install --production --frozen-lockfile && rm -rf $HOME/.bun/install/cache COPY --from=deps /deps/restic /usr/local/bin/restic COPY --from=deps /deps/rclone /usr/local/bin/rclone