Skip to content

Commit 6a49708

Browse files
authored
Merge pull request #149 from dotfortun3-code/docker-net8
updated Dockerfile to use dotnet sdk 8.0
2 parents a1ee206 + a152458 commit 6a49708

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
22
WORKDIR /app
33

44
# Copy csproj and restore as distinct layers
@@ -11,7 +11,7 @@ COPY ./appsettings.docker.json ./appsettings.json
1111
RUN dotnet publish -c Release -o out
1212

1313
# Build runtime image
14-
FROM mcr.microsoft.com/dotnet/aspnet:6.0
14+
FROM mcr.microsoft.com/dotnet/aspnet:8.0
1515
WORKDIR /app
1616
COPY --from=build-env /app/out .
17-
ENTRYPOINT ["dotnet", "GoNorth.dll"]
17+
ENTRYPOINT ["dotnet", "GoNorth.dll"]

0 commit comments

Comments
 (0)