File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
66WORKDIR /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
4040WORKDIR /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
8282RUN groupadd --system nestjs && useradd --system --gid nestjs --create-home nestjs
You can’t perform that action at this time.
0 commit comments