baoyin2024 commited on
Commit
19d5e0d
·
verified ·
1 Parent(s): 3a85bbb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 /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
 
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