We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ff2146 commit 1917d10Copy full SHA for 1917d10
1 file changed
templates/MyProject.Scheduler/Dockerfile
@@ -0,0 +1,15 @@
1
+# build
2
+
3
+FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as build
4
+WORKDIR /src
5
6
+COPY . .
7
+RUN dotnet publish -f netcoreapp3.1 -c release -o out
8
9
+# launch
10
11
+FROM mcr.microsoft.com/dotnet/core/runtime:3.1
12
+WORKDIR /app
13
14
+COPY --from=build /src/out /app
15
+CMD dotnet MyProject.Scheduler.dll
0 commit comments