Skip to content

Commit ae82c5b

Browse files
committed
Use Docker Hub mirror for Bun base images
1 parent 0fa4798 commit ae82c5b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

server/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ----------------------------------------------------
22
# 阶段 1: 依赖安装 (deps)
33
# ----------------------------------------------------
4-
FROM oven/bun:1-alpine AS deps
4+
FROM mirror.gcr.io/oven/bun:1-alpine AS deps
55

66
WORKDIR /app
77

@@ -14,7 +14,7 @@ RUN bun install --production --frozen-lockfile
1414
# ----------------------------------------------------
1515
# 阶段 2: 代码编译 (builder)
1616
# ----------------------------------------------------
17-
FROM oven/bun:1-alpine AS builder
17+
FROM mirror.gcr.io/oven/bun:1-alpine AS builder
1818

1919
WORKDIR /app
2020

@@ -31,7 +31,7 @@ RUN bun run build
3131
# ----------------------------------------------------
3232
# 阶段 3: 运行时镜像 (runner) - 极致瘦身!
3333
# ----------------------------------------------------
34-
FROM oven/bun:1-alpine AS runner
34+
FROM mirror.gcr.io/oven/bun:1-alpine AS runner
3535

3636
WORKDIR /app
3737

0 commit comments

Comments
 (0)