diff --git a/Dockerfile b/Dockerfile index befef7a..4da5db3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,18 +7,6 @@ EXPOSE 9996 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 \ - fonts-liberation \ - fonts-dejavu-core \ - fonts-wqy-zenhei \ - fontconfig \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* - -# Öؽ¨×ÖÌ建´æ -RUN fc-cache -fv - # ¹¹½¨½׶Î FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build ARG BUILD_CONFIGURATION=Release diff --git a/YD_Event.Application/Client/EventClientController.cs b/YD_Event.Application/Client/EventClientController.cs index d1eb9b4..7cf7177 100644 --- a/YD_Event.Application/Client/EventClientController.cs +++ b/YD_Event.Application/Client/EventClientController.cs @@ -14,8 +14,6 @@ namespace YD_Event.Application.Client; /// 小程序-赛事接口 /// [ApiDescriptionSettings("微信小程序接口")] -[Route("api/v1/mini-program/event")] -[Authorize(AuthenticationSchemes = "Bearer")] public class EventClientController : IDynamicApiController { private readonly ISqlSugarRepository _eventRepository; diff --git a/YD_Event.Application/Client/MyController.cs b/YD_Event.Application/Client/MyController.cs index 2b36520..e3deadb 100644 --- a/YD_Event.Application/Client/MyController.cs +++ b/YD_Event.Application/Client/MyController.cs @@ -14,8 +14,6 @@ namespace YD_Event.Application.Client; /// 小程序-个人中心接口 /// [ApiDescriptionSettings("微信小程序接口")] -[Route("api/v1/mini-program/my")] -[Authorize(AuthenticationSchemes = "Bearer")] public class MyController : IDynamicApiController { private readonly ISqlSugarRepository _appUserRepository; diff --git a/YD_Event.Application/Client/OAuthController.cs b/YD_Event.Application/Client/OAuthController.cs index 3ce6643..fa0e412 100644 --- a/YD_Event.Application/Client/OAuthController.cs +++ b/YD_Event.Application/Client/OAuthController.cs @@ -15,7 +15,6 @@ namespace YD_Event.Application.Client; /// 微信小程序认证接口 /// [ApiDescriptionSettings("微信小程序接口")] -[Route("api/v1/mini-program/auth")] public class OAuthController : IDynamicApiController { private readonly WeChatTool _weChatTool; diff --git a/YD_Event.Web.Entry/Dockerfile b/YD_Event.Web.Entry/Dockerfile index a929af1..54f86cc 100644 --- a/YD_Event.Web.Entry/Dockerfile +++ b/YD_Event.Web.Entry/Dockerfile @@ -6,18 +6,10 @@ FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base #修改apt-get源,加速apt下载 RUN sed -i s@/deb.debian.org/@/mirrors.163.com/@g /etc/apt/sources.list.d/debian.sources #RUN cat /etc/apt/sources.list - -# 安装字体和依赖 -RUN apt-get update && apt-get install -y \ - fonts-liberation \ - fonts-dejavu-core \ - fonts-wqy-zenhei \ - fontconfig \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* - -# 重建字体缓存 -RUN fc-cache -fv +#安装fontconfig +RUN apt-get clean +RUN apt-get update +RUN apt-get install -y fontconfig USER $APP_UID WORKDIR /app