The node alpine image does not come with fonts preinstalled so the client/db/queries/insertAttachment.js module will output an image of text with no font (a bunch of boxes)
Fix
Distribute open source fonts in the image and add them to the container using something like
RUN mkdir -p /usr/share/fonts/
COPY ./fonts/ /usr/share/fonts/
RUN install -m644 /usr/share/fonts/* /usr/share/fonts/
RUN fc-cache -f -v
Problem
The node alpine image does not come with fonts preinstalled so the client/db/queries/insertAttachment.js module will output an image of text with no font (a bunch of boxes)
Fix
Distribute open source fonts in the image and add them to the container using something like
in client/Dockerfile