From 34f7ddc4db9a9c6b6833c06a37765f39ca5daf48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E6=A2=93=E5=BD=AD?= Date: Sun, 26 Apr 2026 09:42:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 9 ++++++--- YD_Event.Web.Entry/Program.cs | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c358444..5f6f4cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,13 +8,16 @@ ENV TZ=Asia/Shanghai RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # °²×°×ÖÌåºÍÒÀÀµ -RUN apt-get update && apt-get install -y \ +RUN sed -i "s@deb.debian.org@mirrors.aliyun.com@g" /etc/apt/sources.list.d/debian.sources && \ + apt-get update && \ + apt-get install -y --no-install-recommends \ fonts-liberation \ fonts-dejavu-core \ - fonts-wqy-zenhei \ - fonts-wqy-microhei \ + fonts-wqy-zenhei \ + fonts-wqy-microhei \ fonts-noto-cjk \ fontconfig \ + curl \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/YD_Event.Web.Entry/Program.cs b/YD_Event.Web.Entry/Program.cs index bd526bf..b7c5150 100644 --- a/YD_Event.Web.Entry/Program.cs +++ b/YD_Event.Web.Entry/Program.cs @@ -3,6 +3,6 @@ Serve.Run(RunOptions.Default .ConfigureBuilder(builder => { // ç¡®ä¿�容器内绑定到所有IP,端å�£9996 - builder.WebHost.UseUrls("http://*:9996"); + builder.WebHost.UseUrls("http://*:9997"); }) );