fix: 修复Dockerfile及环境变量开发环境配置

develop
Yosheng 2023-07-30 20:13:59 +08:00
parent 71e9a40c07
commit 0c2371be7e
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /docker
EXPOSE 5000
FROM mcr.microsoft.co/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /build
COPY . .
RUN dotnet restore src/UserPointManagement.Web/UserPointManagement.Web.csproj --configfile ./NuGet.Config

View File

@ -22,5 +22,6 @@
"MenuRender": true,
"MenuHeaderRender": true,
"HeaderHeight": 48
}
},
"Connection:UserPointManagement": "Server=67.230.184.225;Port=58007;UserId=postgres;Password=postgres;Database=tiamo_dev;"
}