Update dockerfile .net version
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m36s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m36s
This commit is contained in:
parent
ff010763d0
commit
6eff43fc76
1 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue