Open elmccd opened 1 year ago
this issue arise because of lacking in fonts in the installed machine. you can install it on the docker with :
RUN apt-get update && \ apt-get install -y wget \ fontconfig && \ wget http://ftp.br.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb && \ apt --fix-broken install -y ./ttf-mscorefonts-installer_3.6_all.deb && \ rm ttf-mscorefonts-installer_3.6_all.deb && \ fc-cache -f -v
worked for me with: FROM python:3.9.16-slim-bullseye
Running Dockerfile and Python script provided on https://supervised.mljar.com/ crashes due to missing fonts (?):
I managed to get around it by changing base python image to:
Probably could be fixed better.