Skip to content

Commit c735b72

Browse files
authored
Update Dockerfile
1 parent 0a0d5be commit c735b72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Application/Dockerfile

Lines changed: 3 additions & 3 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 *.csproj ./
6-
RUN dotnet restore --verbosity detailed
5+
COPY src/Application/src/RazorPagesTestSample/*.csproj ./
6+
RUN dotnet restore
77

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

1212
# Build runtime image

0 commit comments

Comments
 (0)