mirror of https://github.com/oliverbooth/VPLink
chore: use runtime as base, don't set UseAppHost=false
This commit is contained in:
parent
2e207ee733
commit
b5bc7c2a85
|
@ -1,4 +1,4 @@
|
|||
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
|
||||
FROM mcr.microsoft.com/dotnet/runtime:7.0 AS base
|
||||
WORKDIR /app
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
||||
|
@ -10,7 +10,7 @@ WORKDIR "/src/VPLink"
|
|||
RUN dotnet build "VPLink.csproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "VPLink.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||
RUN dotnet publish "VPLink.csproj" -c Release -o /app/publish
|
||||
|
||||
FROM base AS vpsdk
|
||||
WORKDIR /vpsdk
|
||||
|
|
Loading…
Reference in New Issue