remove bun cache from production image to optimize the space (#380)

This commit is contained in:
Moin Ahmad 2026-01-17 19:47:00 +05:30 committed by GitHub
parent 36b17d73eb
commit d3118704ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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