From baeab0fbe531d51a9a953c327c749bcf36e81052 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Sun, 17 May 2026 02:52:27 -0700 Subject: [PATCH] fix: add --retry 3 to bun install in Dockerfile Docker build steps (builder, test-runner, runner stages) also run bun install and suffer the same transient tarball extraction failures as the workflow steps. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87b43bb..b88e6f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ WORKDIR /app COPY package*.json ./ # Install dependencies (including dev dependencies for building) -RUN bun install +RUN bun install --retry 3 # Copy source code COPY . . @@ -39,7 +39,7 @@ WORKDIR /app COPY package*.json ./ # Install ALL dependencies (including dev dependencies for testing) -RUN bun install +RUN bun install --retry 3 # Copy source code COPY . . @@ -68,7 +68,7 @@ COPY --from=builder --chown=euchre:euchre /app/bun.lock ./bun.lock COPY --from=builder --chown=euchre:euchre /app/prisma ./prisma # Install only production dependencies -RUN bun install --production +RUN bun install --retry 3 --production # Generate Prisma client # Note: We need to set DATABASE_URL even for generation because prisma.config.ts requires it