fix: add target to a bun build command
This commit is contained in:
@@ -15,7 +15,7 @@ COPY src ./src
|
||||
COPY tsconfig.json ./
|
||||
|
||||
# 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
|
||||
FROM oven/bun:latest AS runtime
|
||||
|
||||
Reference in New Issue
Block a user