We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent defa035 commit 7cd8f3eCopy full SHA for 7cd8f3e
src/templates/MyProject.Scheduler/Dockerfile
@@ -1,14 +1,14 @@
1
# build
2
3
-FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as build
+FROM mcr.microsoft.com/dotnet/sdk:7.0 as build
4
WORKDIR /src
5
6
COPY . .
7
-RUN dotnet publish -f netcoreapp3.1 -c release -o out
+RUN dotnet publish -f net7.0 -c release -o out
8
9
# launch
10
11
-FROM mcr.microsoft.com/dotnet/core/runtime:3.1
+FROM mcr.microsoft.com/dotnet/runtime:7.0
12
WORKDIR /app
13
14
COPY --from=build /src/out /app
0 commit comments