From b9e1a044226a44292e2873a7f8052358fe9a580c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=86=9B?= <510423039@qq.com> Date: Sat, 12 Feb 2022 21:21:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=95=20=E8=B0=83=E6=95=B4Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Dockerfile b/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Dockerfile index b6f5315d..073f07bd 100644 --- a/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Dockerfile +++ b/aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Dockerfile @@ -5,6 +5,9 @@ RUN mkdir /app COPY publish /app +# 这里速度会有点慢,可以打包自己的下边镜像底包 +RUN apt-get update -y && apt-get install -y libgdiplus && apt-get clean && ln -s /usr/lib/libgdiplus.so /usr/lib/gdiplus.dll + # 设置工作目录 WORKDIR /app