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 05da9cb commit 6f1e0dfCopy full SHA for 6f1e0df
dockerfile
@@ -0,0 +1,8 @@
1
+
2
+FROM mcr.microsoft.com/dotnet/sdk:6.0
3
+WORKDIR /app
4
+COPY . .
5
+RUN dotnet restore && dotnet publish -c Release -o out
6
+WORKDIR /app/out
7
+EXPOSE 5000
8
+ENTRYPOINT ["dotnet", "ASPNETCore-WebAPI-Sample.dll"]
0 commit comments