Skip to content

Commit dc9351c

Browse files
authored
fix(api): upgrade Dockerfile base images for Prisma v7 Node.js requirement (bun 1.3.11, node 22) (#2425)
1 parent 13a7b77 commit dc9351c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

apps/api/Dockerfile.multistage

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# =============================================================================
22
# STAGE 1: Dependencies - Install only what the API needs
33
# =============================================================================
4-
FROM oven/bun:1.2.8 AS deps
4+
FROM oven/bun:1.3.11 AS deps
55

66
WORKDIR /app
77

@@ -35,7 +35,7 @@ RUN bun install --ignore-scripts
3535
# =============================================================================
3636
# STAGE 2: Builder - Build workspace packages and NestJS app
3737
# =============================================================================
38-
FROM oven/bun:1.2.8 AS builder
38+
FROM oven/bun:1.3.11 AS builder
3939

4040
WORKDIR /app
4141

@@ -76,7 +76,7 @@ RUN cd packages/db && node scripts/combine-schemas.js \
7676
# =============================================================================
7777
# STAGE 3: Production Runtime
7878
# =============================================================================
79-
FROM node:20-slim AS production
79+
FROM node:22-slim AS production
8080

8181
# Create non-root user before copying files so COPY --chown can use it
8282
RUN groupadd --system nestjs && useradd --system --gid nestjs --create-home nestjs

0 commit comments

Comments
 (0)