remove bun cache from production image to optimize the space (#380)
This commit is contained in:
parent
36b17d73eb
commit
d3118704ea
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ ENV NODE_ENV="production"
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY --from=builder /app/package.json ./
|
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/restic /usr/local/bin/restic
|
||||||
COPY --from=deps /deps/rclone /usr/local/bin/rclone
|
COPY --from=deps /deps/rclone /usr/local/bin/rclone
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue