Skip to content

Commit e65c8ce

Browse files
committed
Changed dockerfile for deployment
1 parent c23d0fa commit e65c8ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ShowcaseProject/ShowcaseFrontend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ CMD ["dotnet", "watch", "run", "--no-launch-profile", "--urls", "http://+:80"]
77

88
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
99
WORKDIR /src
10-
COPY ShowcaseFrontend/ShowcaseFrontend.csproj ShowcaseFrontend/
11-
RUN dotnet restore ./ShowcaseFrontend/ShowcaseFrontend.csproj
10+
COPY ShowcaseProject/ShowcaseFrontend/ShowcaseFrontend.csproj ./
11+
RUN dotnet restore
1212
COPY ShowcaseFrontend/. ShowcaseFrontend/
1313
WORKDIR /src/ShowcaseFrontend
1414
RUN dotnet publish -c Release -o /app/publish /p:UseAppHost=false

0 commit comments

Comments
 (0)