Skip to content

Commit ded23f0

Browse files
committed
Volledige pad toegevoegd voor de GH Actions
1 parent e65c8ce commit ded23f0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ShowcaseProject/ShowcaseFrontend/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ WORKDIR /app/ShowcaseFrontend
66
CMD ["dotnet", "watch", "run", "--no-launch-profile", "--urls", "http://+:80"]
77

88
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
9-
WORKDIR /src
9+
WORKDIR /src/ShowcaseFrontend
1010
COPY ShowcaseProject/ShowcaseFrontend/ShowcaseFrontend.csproj ./
1111
RUN dotnet restore
12-
COPY ShowcaseFrontend/. ShowcaseFrontend/
13-
WORKDIR /src/ShowcaseFrontend
12+
COPY /ShowcaseProject/ShowcaseFrontend/. ./
1413
RUN dotnet publish -c Release -o /app/publish /p:UseAppHost=false
1514

1615
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final

0 commit comments

Comments
 (0)