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 a8f01e3 commit 608ca6aCopy full SHA for 608ca6a
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/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