mirror of
https://github.com/oliverbooth/VPLink
synced 2024-11-09 23:05:41 +00:00
fix: use correct project path in Dockerfile
This commit is contained in:
parent
2f9f418487
commit
0b01b9e097
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user