Skip to content

Commit 76a5732

Browse files
authored
Update Dockerfile
1 parent 0553413 commit 76a5732

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Application/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
22
WORKDIR /app
33

44
# Copy csproj and restore as distinct layers
5-
COPY ./src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj ./
5+
COPY .src/Application/src/RazorPagesTestSample/*.csproj ./
66
RUN dotnet restore
77

88
# Copy everything else and build
9-
COPY . ./src/Application/src/RazorPagesTestSample
9+
COPY . ..src/Application/src/RazorPagesTestSample/. ./
1010
RUN dotnet publish -c Release -o out
1111

1212
# Build runtime image

0 commit comments

Comments
 (0)