fix: 更新 Dockerfile Bun 版本 1.1 → 1.3 以匹配本地版本
Some checks failed
CI/CD Pipeline / Code Quality (push) Successful in 16s
CI/CD Pipeline / Unit Tests (push) Successful in 10s
CI/CD Pipeline / Build Test Image (push) Has been skipped
CI/CD Pipeline / Deploy to Test (push) Has been skipped
CI/CD Pipeline / Build Production Image (push) Failing after 9s
CI/CD Pipeline / Deploy to Production (push) Has been skipped
Some checks failed
CI/CD Pipeline / Code Quality (push) Successful in 16s
CI/CD Pipeline / Unit Tests (push) Successful in 10s
CI/CD Pipeline / Build Test Image (push) Has been skipped
CI/CD Pipeline / Deploy to Test (push) Has been skipped
CI/CD Pipeline / Build Production Image (push) Failing after 9s
CI/CD Pipeline / Deploy to Production (push) Has been skipped
本地使用 Bun 1.3.11 生成的 lockfile 与 Bun 1.1.45 不兼容
This commit is contained in:
parent
81ecf3999d
commit
2d8b07845f
@ -1,6 +1,6 @@
|
|||||||
# Duoqi API - Multi-stage Dockerfile
|
# Duoqi API - Multi-stage Dockerfile
|
||||||
# 阶段 1: 构建依赖
|
# 阶段 1: 构建依赖
|
||||||
FROM oven/bun:1.1 AS base
|
FROM oven/bun:1.3 AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# 复制依赖文件
|
# 复制依赖文件
|
||||||
@ -20,7 +20,7 @@ RUN bun run typecheck
|
|||||||
RUN bun run build
|
RUN bun run build
|
||||||
|
|
||||||
# 阶段 4: 生产镜像
|
# 阶段 4: 生产镜像
|
||||||
FROM oven/bun:1.1 AS release
|
FROM oven/bun:1.3 AS release
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# 创建非 root 用户
|
# 创建非 root 用户
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user