1
0
mirror of https://github.com/oliverbooth/VPLink synced 2024-11-09 23:25:42 +00:00

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

View File

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