Properly fix Dockerfiles

This commit is contained in:
Michiel Hazelhof 2024-03-04 11:09:51 +01:00
parent e4da85d46e
commit 481aa39582
No known key found for this signature in database
GPG Key ID: EECB9B96355B5EBF
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ COPY cert.cert /app/
RUN dotnet restore
RUN dotnet publish -c Release -o /app --no-restore
FROM mcr.microsoft.com/dotnet/sdk:6.0
FROM mcr.microsoft.com/dotnet/sdk:8.0
WORKDIR /app
COPY --from=build /app .

View File

@ -8,7 +8,7 @@ COPY cert.pfx /app/
RUN dotnet restore
RUN dotnet publish -c Release -o /app --no-restore
FROM mcr.microsoft.com/dotnet/sdk:6.0
FROM mcr.microsoft.com/dotnet/sdk:8.0
WORKDIR /app
COPY --from=build /app .