fix: use correct project path in Dockerfile

This commit is contained in:
Oliver Booth 2023-08-26 16:26:55 +01:00
parent 2f9f418487
commit 0b01b9e097
Signed by: oliverbooth
GPG Key ID: B89D139977693FED
1 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@ EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY ["VPLink/VPLink.csproj", "VpBridge/"]
COPY ["VPLink/VPLink.csproj", "VPLink/"]
RUN dotnet restore "VPLink/VPLink.csproj"
COPY . .
WORKDIR "/src/VpBridge"
WORKDIR "/src/VPLink"
RUN dotnet build "VPLink.csproj" -c Release -o /app/build
FROM build AS publish