This commit is contained in:
2026-06-16 09:01:02 -06:00
parent 494fbef7b4
commit 804224fc3c

View File

@@ -2,6 +2,9 @@
FROM oven/bun:1 AS builder
WORKDIR /app
ARG BUN_REGISTRY=https://registry.npmmirror.com
ENV BUN_CONFIG_REGISTRY=${BUN_REGISTRY}
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile
@@ -12,6 +15,9 @@ RUN bun run build
FROM oven/bun:1-slim AS runner
WORKDIR /app
ARG BUN_REGISTRY=https://registry.npmmirror.com
ENV BUN_CONFIG_REGISTRY=${BUN_REGISTRY}
COPY package.json bun.lock ./
RUN bun install --frozen-lockfile --production