fix: add target to a bun build command

This commit is contained in:
2025-10-03 09:02:39 -04:00
parent 01dd52bf58
commit 9a33be1f25

View File

@@ -15,7 +15,7 @@ COPY src ./src
COPY tsconfig.json ./ COPY tsconfig.json ./
# Build the application for production # Build the application for production
RUN bun build ./src/index.ts --outdir ./dist --minify RUN bun build ./src/index.ts --outdir ./dist --minify --target=bun
# Multi-stage build - runtime stage # Multi-stage build - runtime stage
FROM oven/bun:latest AS runtime FROM oven/bun:latest AS runtime