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 0a0d5be commit c735b72Copy full SHA for c735b72
src/Application/Dockerfile
@@ -2,11 +2,11 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
2
WORKDIR /app
3
4
# Copy csproj and restore as distinct layers
5
-COPY *.csproj ./
6
-RUN dotnet restore --verbosity detailed
+COPY src/Application/src/RazorPagesTestSample/*.csproj ./
+RUN dotnet restore
7
8
# Copy everything else and build
9
-COPY . ./
+COPY . src/Application/src/RazorPagesTestSample
10
RUN dotnet publish -c Release -o out
11
12
# Build runtime image
0 commit comments