From 2b28d2079c8f53da8c62843b35608c97904f07b3 Mon Sep 17 00:00:00 2001 From: Chris Chen Date: Mon, 22 Jun 2026 17:52:40 -0700 Subject: [PATCH] update for --- .gitea/workflows/ci-cd.yml | 2 +- API/Dockerfile | 9 ++++++++- API/ROLAC.API/ROLAC.API.csproj | 4 ++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 101ab7e..1a5c7fe 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -51,4 +51,4 @@ jobs: export TAG=${{ github.sha }} docker compose pull docker compose up -d - curl -fsS https://app.rolac.org/api/health + curl -fsS https://manage.rolac.org/api/health diff --git a/API/Dockerfile b/API/Dockerfile index 688d169..84d92eb 100644 --- a/API/Dockerfile +++ b/API/Dockerfile @@ -15,8 +15,15 @@ WORKDIR /app ENV ASPNETCORE_ENVIRONMENT=Production \ ASPNETCORE_HTTP_PORTS=8080 # curl: used by the HEALTHCHECK (not present in the base image) +# libfontconfig1 + fonts: required by DevExpress.Drawing's Skia backend for PDF text +# rendering. fonts-noto-cjk supplies the Chinese glyphs used in the receipt PDF. RUN apt-get update \ - && apt-get install -y --no-install-recommends curl \ + && apt-get install -y --no-install-recommends \ + curl \ + libfontconfig1 \ + fontconfig \ + fonts-dejavu \ + fonts-noto-cjk \ && rm -rf /var/lib/apt/lists/* COPY --from=build /app/publish . # storage dir created + owned for the non-root app user diff --git a/API/ROLAC.API/ROLAC.API.csproj b/API/ROLAC.API/ROLAC.API.csproj index e78efd1..239c488 100644 --- a/API/ROLAC.API/ROLAC.API.csproj +++ b/API/ROLAC.API/ROLAC.API.csproj @@ -8,6 +8,10 @@ + +