Properly fix Dockerfiles (#189)

This commit is contained in:
Michiel Hazelhof
2024-03-04 22:16:30 +01:00
committed by GitHub
parent e4da85d46e
commit c8192610dc
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 .