aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/Dockerfile
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-11-27 12:43:36 +0100
committerivarlovlie <git@ivarlovlie.no>2022-11-27 12:43:36 +0100
commit2cafa21d4a52f4fb90109fefbebc32bea267f647 (patch)
tree7153ae31dd752e5715edd810efd4aff80cd21bf2 /code/api/Dockerfile
parent16c6300752f228bbf036b439ecfbcbd96e9b4d16 (diff)
downloadgreatoffice-2cafa21d4a52f4fb90109fefbebc32bea267f647.tar.xz
greatoffice-2cafa21d4a52f4fb90109fefbebc32bea267f647.zip
feat: Use 7.0 docker images
Diffstat (limited to 'code/api/Dockerfile')
-rw-r--r--code/api/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/api/Dockerfile b/code/api/Dockerfile
index adc4be3..5a5545f 100644
--- a/code/api/Dockerfile
+++ b/code/api/Dockerfile
@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
+FROM mcr.microsoft.com/dotnet/sdk:7.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:6.0
+FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app
COPY --from=build-env /source/out .
ENTRYPOINT ["dotnet", "IOL.GreatOffice.Api.dll"]