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 0553413 commit 76a5732Copy full SHA for 76a5732
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 ./src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj ./
+COPY .src/Application/src/RazorPagesTestSample/*.csproj ./
6
RUN dotnet restore
7
8
# Copy everything else and build
9
-COPY . ./src/Application/src/RazorPagesTestSample
+COPY . ..src/Application/src/RazorPagesTestSample/. ./
10
RUN dotnet publish -c Release -o out
11
12
# Build runtime image
0 commit comments