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