Update Dockerfile to use the latest Bun image for production builds

- Changed the base image for the production stage to `oven/bun:latest` to ensure compatibility and access to the latest features.
- Maintained the existing multi-stage build structure for optimized application deployment.
This commit is contained in:
m4x809 2025-10-25 03:58:06 +02:00
parent ddbd73fd3e
commit 064b37b822
Signed by: m4x809
SSH key fingerprint: SHA256:YCoFF78p2DUP94EnCScqLwldjkKDwdKSZq3r8p/6EiU

View file

@ -32,7 +32,7 @@ ENV BETTER_AUTH_TELEMETRY=0
RUN bun run build RUN bun run build
# Production image # Production image
FROM base AS runner FROM oven/bun:latest AS runner
WORKDIR /app WORKDIR /app
ENV NODE_ENV=production ENV NODE_ENV=production