浏览代码

修改部署脚本

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


正在加载...
取消
保存