This commit is contained in:
2026-06-16 09:23:00 -06:00
parent 0dc1a35365
commit 667f8be21c
2 changed files with 22 additions and 12 deletions

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