Skip to content

Commit 5196b8a

Browse files
committed
Update Dockerfile
1 parent 0b56cff commit 5196b8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
22
WORKDIR /source
33

44
COPY . .
@@ -7,7 +7,7 @@ RUN dotnet restore ./src/
77
WORKDIR /source/src
88
RUN dotnet publish -c release -o /app --no-restore
99

10-
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
10+
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime
1111
WORKDIR /app
1212
COPY --from=build /app ./
1313
ENTRYPOINT ["dotnet", "SharpScript.dll"]

0 commit comments

Comments
 (0)