From 804224fc3cfdad60752ddaf94985080281a4e06d Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 16 Jun 2026 09:01:02 -0600 Subject: [PATCH] update --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index b7f1c32..59b711a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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