Skip to content

Commit 77a70a2

Browse files
authored
Update Dockerfile
1 parent a8c4b7c commit 77a70a2

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
@@ -3,11 +3,11 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
33
WORKDIR /app
44

55
# Copy the .csproj file and restore dependencies
6-
COPY src/Application/src/RazorPagesTestSample/RazorPagesTestSample.csproj ./
7-
RUN dotnet restore
6+
# COPY src/Application/src/RazorPagesTestSample/*.csproj ./
7+
# RUN dotnet restore
88

99
# Copy the entire project and build the release version
10-
COPY src/Application/src/RazorPagesTestSample/. ./
10+
COPY src/Application/src/RazorPagesTestSample/ . ./
1111
RUN dotnet publish -c Release -o out
1212

1313
# Use the official ASP.NET Core runtime image

0 commit comments

Comments
 (0)