From dcbc9e609cb99a55f35f1ffafa9bd13faf35f642 Mon Sep 17 00:00:00 2001 From: Suphonchai Phoonsawat Date: Sun, 20 Aug 2023 21:11:54 +0700 Subject: [PATCH] update docker file --- BMA.EHR.Report.Service/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BMA.EHR.Report.Service/Dockerfile b/BMA.EHR.Report.Service/Dockerfile index 2a627b6f..9d7a8c72 100644 --- a/BMA.EHR.Report.Service/Dockerfile +++ b/BMA.EHR.Report.Service/Dockerfile @@ -24,7 +24,7 @@ RUN dotnet publish "BMA.EHR.Report.Service.csproj" -c Release -o /app/publish /p FROM base AS final -RUN apt-get update && apt-get -y install fontconfig && apt-get install -y --allow-unauthenticated libgdiplus libc6-dev +RUN apt-get update && apt-get -y install fontconfig && apt-get install -y --allow-unauthenticated libgdiplus libc6-dev libx11-dev && rm -rf /var/lib/apt/lists/* COPY ./BMA.EHR.Report.Service/Fonts/THSarabunIT.ttf /usr/share/fonts/truetype/ COPY ./BMA.EHR.Report.Service/Fonts/THSarabunITBold.ttf /usr/share/fonts/truetype/ COPY ./BMA.EHR.Report.Service/Fonts/THSarabunITItalic.ttf /usr/share/fonts/truetype/