From 0c2371be7e4aa6842c0b8b0106020e09cf294c8a Mon Sep 17 00:00:00 2001 From: Yosheng Date: Sun, 30 Jul 2023 20:13:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DDockerfile=E5=8F=8A?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- src/UserPointManagement.Web/appsettings.Development.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ff610c..b141805 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/src/UserPointManagement.Web/appsettings.Development.json b/src/UserPointManagement.Web/appsettings.Development.json index 3071d03..d816066 100644 --- a/src/UserPointManagement.Web/appsettings.Development.json +++ b/src/UserPointManagement.Web/appsettings.Development.json @@ -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;" }