Upload Dockerfile with huggingface_hub
Browse files- 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 |
|