diff options
Diffstat (limited to 'code/api/Dockerfile')
| -rw-r--r-- | code/api/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/api/Dockerfile b/code/api/Dockerfile index 5a5545f..e780df8 100644 --- a/code/api/Dockerfile +++ b/code/api/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /source # Copy csproj and restore as distinct layers @@ -10,7 +10,7 @@ COPY src/ ./ RUN dotnet publish -c Release -o out # Build runtime image -FROM mcr.microsoft.com/dotnet/aspnet:7.0 +FROM mcr.microsoft.com/dotnet/aspnet:8.0 WORKDIR /app COPY --from=build-env /source/out . ENTRYPOINT ["dotnet", "IOL.GreatOffice.Api.dll"] |
