website/Dockerfile
Robert Marshall 6eff43fc76
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m36s
Update dockerfile .net version
2025-07-05 08:17:37 +01:00

10 lines
241 B
Docker

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:9.0
WORKDIR /app
COPY --from=build-env /app/output .
ENTRYPOINT ["dotnet", "Website.dll"]