Bun 升级到 1.4.4(Docker 镜像和 CI)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
751c4c964d
commit
aadb2c9e93
2 files changed
+3
-3
No files matched your search
@@ -19,7 +19,7 @@ jobs:
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: 1.4.3
|
||||
bun-version: 1.4.4
|
||||
|
||||
- uses: actions/setup-dotnet@v6
|
||||
with:
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@ COPY runtime/ runtime/
|
||||
RUN dotnet build runtime/Runtime.slnx -c Release
|
||||
|
||||
# ---- 网页和服务端 ----
|
||||
FROM oven/bun:1.4.3 AS web-build
|
||||
FROM oven/bun:1.4.4 AS web-build
|
||||
WORKDIR /src
|
||||
COPY package.json bun.lock ./
|
||||
COPY shared/package.json shared/
|
||||
@@ -27,7 +27,7 @@ FROM mcr.microsoft.com/dotnet/runtime:10.0
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends bubblewrap tzdata \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=oven/bun:1.4.3 /usr/local/bin/bun /usr/local/bin/bun
|
||||
COPY --from=oven/bun:1.4.4 /usr/local/bin/bun /usr/local/bin/bun
|
||||
WORKDIR /app
|
||||
COPY --from=runtime-build /src/runtime/Sim.Runner/bin/Release/net10.0/ runtime/
|
||||
COPY --from=web-build /src/web/dist/ web/dist/
|
||||
|
||||
Reference in new issue
Block a user