You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two lines are supposed to copy fonts from src/main/resources/static/fonts to /usr/share/fonts/opentype/noto/
The contents of the /usr/share/fonts/opentype/ in the Docker container is a single file called noto
I see the following issues:
The src/main/resources/static/fonts directory contains the sub-directory static however the copy command is not recursive.
The copy target is not specified to be a directory; a / should be appended to the end.
The directory should be created prior to copying using RUN mkdir -p
The src/main/resources/static/fonts/ directory does not actually contain any .otf files. The files in that directory are all either .ttf. or .woff2
If the intention is to copy all of the files from the directory, the copy command could be consolidated to COPY src/main/resources/static/fonts/* /usr/share/fonts/opentype/noto/
The text was updated successfully, but these errors were encountered:
Stirling-PDF/Dockerfile
Line 7 in 31ec385
Stirling-PDF/Dockerfile
Line 8 in 31ec385
These two lines are supposed to copy fonts from
src/main/resources/static/fonts
to/usr/share/fonts/opentype/noto/
The contents of the
/usr/share/fonts/opentype/
in the Docker container is a single file callednoto
I see the following issues:
src/main/resources/static/fonts
directory contains the sub-directorystatic
however the copy command is not recursive./
should be appended to the end.RUN mkdir -p
src/main/resources/static/fonts/
directory does not actually contain any.otf
files. The files in that directory are all either.ttf.
or.woff2
COPY src/main/resources/static/fonts/* /usr/share/fonts/opentype/noto/
The text was updated successfully, but these errors were encountered: