Skip to content

Commit 70f9c17

Browse files
committed
Update Dockerfile
1 parent 949721a commit 70f9c17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Src/BigBang1112.Gbx/Server/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine AS base
1+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
22
WORKDIR /app
33
EXPOSE 80
44
EXPOSE 443
55

6-
FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS build
6+
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
77
ARG GITHUB_TOKEN
88
WORKDIR /src
99
COPY ["Src/BigBang1112.Gbx/Server/BigBang1112.Gbx.Server.csproj", "Src/BigBang1112.Gbx/Server/"]
@@ -34,7 +34,7 @@ RUN dotnet build "BigBang1112.Gbx.Server.csproj" -c Release -o /app/build
3434
FROM build AS publish
3535
RUN dotnet publish "BigBang1112.Gbx.Server.csproj" -c Release -o /app/publish --self-contained
3636

37-
FROM mcr.microsoft.com/dotnet/runtime-deps:7.0-alpine
37+
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine
3838
RUN apk add --no-cache icu-libs
3939
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
4040
WORKDIR /app

0 commit comments

Comments
 (0)