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 a8c4b7c commit 77a70a2Copy full SHA for 77a70a2
src/Application/Dockerfile
@@ -3,11 +3,11 @@ 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/. ./
+COPY src/Application/src/RazorPagesTestSample/ . ./
11
RUN dotnet publish -c Release -o out
12
13
# Use the official ASP.NET Core runtime image
0 commit comments