+1
-1
@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
WORKDIR /app
|
||||
|
||||
COPY ["nuget.config", "./"]
|
||||
COPY ["ShopAdmin/ShopAdmin.csproj", "Shop/"]
|
||||
COPY ["ShopAdmin/ShopAdmin.csproj", "ShopAdmin/"]
|
||||
RUN dotnet restore "ShopAdmin/ShopAdmin.csproj" --configfile nuget.config
|
||||
COPY . .
|
||||
RUN dotnet publish "ShopAdmin/ShopAdmin.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||
|
||||
Reference in New Issue
Block a user