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 3ac1af9 commit 3402a75Copy full SHA for 3402a75
src/Application/src/RazorPagesTestSample/Dockerfile
@@ -3,12 +3,12 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
3
WORKDIR /app
4
5
# Copy the .csproj file and restore dependencies
6
-# COPY src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj ./
7
-# RUN dotnet restore
+COPY src/Application/src/RazorPagesTestSample/*.csproj ./
+RUN dotnet restore
8
9
# Copy the entire project and build the release version
10
-# COPY src/Application/src/RazorPagesTestSample/. ./
11
-# RUN dotnet publish -c Release -o out
+COPY src/Application/src/RazorPagesTestSample/. ./
+RUN dotnet publish -c Release -o out
12
13
# Use the official ASP.NET Core runtime image
14
FROM mcr.microsoft.com/dotnet/aspnet:8.0
0 commit comments