internationalscholarsprogram commited on
Commit
f17add5
·
verified ·
1 Parent(s): 1b0b900

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -45,6 +45,11 @@ COPY app/ ./app/
45
  COPY fonts/ ./fonts/
46
  COPY images/ ./images/
47
 
 
 
 
 
 
48
  # Copy env example as fallback
49
  COPY .env.example .env.example
50
 
 
45
  COPY fonts/ ./fonts/
46
  COPY images/ ./images/
47
 
48
+ # Register Century Gothic with system fontconfig so Chromium can use it
49
+ RUN mkdir -p /usr/local/share/fonts/century-gothic \
50
+ && cp ./fonts/*.TTF /usr/local/share/fonts/century-gothic/ \
51
+ && fc-cache -f -v
52
+
53
  # Copy env example as fallback
54
  COPY .env.example .env.example
55