镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/API.Web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN dotnet restore --runtime linux-$TARGETARCH
WORKDIR /source/src/API.Web
RUN dotnet publish --no-restore --configuration Release --runtime linux-$TARGETARCH --no-self-contained --output /app

FROM --platform=$TARGETARCH mcr.microsoft.com/dotnet/aspnet:10.0.14 AS runtime
FROM --platform=$TARGETARCH mcr.microsoft.com/dotnet/aspnet:11.0.0 AS runtime
RUN apt-get update && apt-get upgrade -y && apt-get install -y curl=8.5.0-2ubuntu10.16 && apt-get clean
WORKDIR /app
COPY --link --from=build /app .
Expand Down
Loading