瀏覽代碼

修改部署脚本

storemanagement
bpa 9 月之前
父節點
當前提交
002ac4ed50
共有 4 個文件被更改,包括 3 次插入2 次删除
  1. 二進制
     
  2. 二進制
     
  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 查看文件

@@ -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 查看文件

@@ -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


Loading…
取消
儲存