Parcourir la source

修改部署脚本

storemanagement
bpa il y a 9 mois
Parent
révision
002ac4ed50
4 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. BIN
     
  2. BIN
     
  3. +1
    -1
      BPA.SAAS.Manage.Web.Entry/Properties/launchSettings.json
  4. +2
    -1
      Dockerfile


+ 1
- 1
BPA.SAAS.Manage.Web.Entry/Properties/launchSettings.json Voir le fichier

@@ -14,7 +14,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
},
"dotnetRunMessages": true,
"applicationUrl": "http://192.168.1.19:5006"
"applicationUrl": "http://localhost:5006"
},
"Docker": {
"commandName": "Docker",


+ 2
- 1
Dockerfile Voir le fichier

@@ -7,12 +7,13 @@ EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src
COPY ["NuGet.config", "."]
COPY ["BPA.SAAS.Manage.Web.Entry/BPA.SAAS.Manage.Web.Entry.csproj", "BPA.SAAS.Manage.Web.Entry/"]
COPY ["BPA.SAAS.Manage.Web.Core/BPA.SAAS.Manage.Web.Core.csproj", "BPA.SAAS.Manage.Web.Core/"]
COPY ["BPA.SAAS.Manage.Application/BPA.SAAS.Manage.Application.csproj", "BPA.SAAS.Manage.Application/"]
COPY ["BPA.SAAS.Manage.Comm/BPA.SAAS.Manage.Comm.csproj", "BPA.SAAS.Manage.Comm/"]
COPY ["BPA.SAAS.Manage.Core/BPA.SAAS.Manage.Core.csproj", "BPA.SAAS.Manage.Core/"]
RUN dotnet restore "BPA.SAAS.Manage.Web.Entry/BPA.SAAS.Manage.Web.Entry.csproj"
RUN dotnet restore "BPA.SAAS.Manage.Web.Entry/BPA.SAAS.Manage.Web.Entry.csproj" --configfile "NuGet.config"
COPY . .
WORKDIR "/src/BPA.SAAS.Manage.Web.Entry"
RUN dotnet build "BPA.SAAS.Manage.Web.Entry.csproj" -c Release -o /app/build


Chargement…
Annuler
Enregistrer