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.
2 parents 05da9cb + 6f1e0df commit 8bcfe1fCopy full SHA for 8bcfe1f
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