Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -29,8 +29,8 @@ RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-d
|
|
| 29 |
|
| 30 |
# Install custom fonts
|
| 31 |
RUN mkdir -p /usr/share/fonts/truetype/custom
|
| 32 |
-
COPY
|
| 33 |
-
RUN chmod 644 /usr/share/fonts/truetype/custom/
|
| 34 |
RUN fc-cache -f -v
|
| 35 |
|
| 36 |
# Set environment variables
|
|
|
|
| 29 |
|
| 30 |
# Install custom fonts
|
| 31 |
RUN mkdir -p /usr/share/fonts/truetype/custom
|
| 32 |
+
COPY ./fonts/HanyiSentyPagoda_Regular.ttf /usr/share/fonts/truetype/custom/
|
| 33 |
+
RUN chmod 644 /usr/share/fonts/truetype/custom/HanyiSentyPagoda_Regular.ttf # 确保字体文件具有读取权限
|
| 34 |
RUN fc-cache -f -v
|
| 35 |
|
| 36 |
# Set environment variables
|