Update dockerfile .net version
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m36s

This commit is contained in:
Robert Marshall 2025-07-05 08:17:37 +01:00
parent ff010763d0
commit 6eff43fc76

View file

@ -1,10 +1,10 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
WORKDIR /app
COPY . ./
RUN chmod +x ./build.sh
RUN ./build.sh
FROM mcr.microsoft.com/dotnet/aspnet:7.0
FROM mcr.microsoft.com/dotnet/aspnet:9.0
WORKDIR /app
COPY --from=build-env /app/output .
ENTRYPOINT ["dotnet", "Website.dll"]