update docker file

This commit is contained in:
Suphonchai Phoonsawat 2023-08-20 21:11:54 +07:00
parent 76892fc089
commit dcbc9e609c

View file

@ -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/