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 50b24c2 commit bf8ecccCopy full SHA for bf8eccc
src/Application/Dockerfile
@@ -6,13 +6,13 @@ COPY src/Application/src/RazorPagesTestSample/*.csproj ./
6
RUN dotnet restore
7
8
# Copy everything else and build
9
-#COPY . ./
10
-#RUN dotnet publish -c Release -o out
+COPY src/Application/src/RazorPagesTestSample/ . ./
+RUN dotnet publish -c Release -o out
11
12
# Build runtime image
13
FROM mcr.microsoft.com/dotnet/aspnet:8.0
14
WORKDIR /app
15
-#COPY --from=build-env /app/out .
+COPY --from=build-env /app/out .
16
# Default ASP.NET port changed with .NET 8.0
17
-#ENV ASPNETCORE_HTTP_PORTS=80
18
-#ENTRYPOINT ["dotnet", "RazorPagesTestSample.dll"]
+ENV ASPNETCORE_HTTP_PORTS=80
+ENTRYPOINT ["dotnet", "RazorPagesTestSample.dll"]
0 commit comments