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 8e54154 commit c22fe29Copy full SHA for c22fe29
src/Application/src/RazorPagesTestSample/Dockerfile
@@ -0,0 +1,10 @@
1
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
2
+WORKDIR /src
3
+COPY . .
4
+RUN dotnet restore
5
+RUN dotnet publish -c Release --nologo -o publish/linux
6
+
7
+FROM mcr.microsoft.com/dotnet/aspnet:8.0
8
+WORKDIR /app
9
+COPY --from=build-env /src/publish/linux .
10
+ENTRYPOINT [ "dotnet", "RazorPagesTestSample.dll" ]
0 commit comments