diff options
| author | ivar <i@oiee.no> | 2023-11-12 00:08:12 +0100 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2023-11-12 00:08:12 +0100 |
| commit | d9a50ca2ef6060eed59381f31c7516277ebe4c69 (patch) | |
| tree | cf14143d323a8dc11b1534c1a368d39f9bf8678d /code | |
| parent | 82209f50e0c753c9dcb894f9c366ab7c3052b25b (diff) | |
| download | greatoffice-d9a50ca2ef6060eed59381f31c7516277ebe4c69.tar.xz greatoffice-d9a50ca2ef6060eed59381f31c7516277ebe4c69.zip | |
Target net8
Diffstat (limited to 'code')
| -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"] |
