ONLYOFFICE / Docker-Docs

ONLYOFFICE Docs is an online office suite comprising viewers and editors for texts, spreadsheets and presentations and enabling collaborative editing in real time. The suite provides maximum compatibility with Office Open XML formats: .docx, .xlsx, .pptx.
GNU Affero General Public License v3.0
13 stars 15 forks source link

custom fonts not including during build #100

Open andreyaag opened 11 months ago

andreyaag commented 11 months ago

i cloned project, put my fonts into ./fonts dir, ran ./build.sh - result: no custom fonts included changing COPY to:

COPY --chown=ds:ds \
    fonts/ \
    /usr/share/fonts/msttcore/

fixed problem

GeorgeONLYOFFICE commented 11 months ago

Hello,

In our Dockerfile the COPY is presented this way and there is no need to change the target path as you have done below

COPY --chown=ds:ds \
    fonts/ \
    /usr/share/fonts/msttcore/

Could you thus specify why you've changed it in your case?

Generally, all you need to do here is to place the fonts into fonts directory as mentioned here without making any additional changes.