Commit 9fc3063f authored by biblia19's avatar biblia19
Browse files

Install matplotlib first

parent 29c947a6
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
FROM python:3.10-slim
RUN apt update && apt install git fontconfig fonts-nanum -y
RUN apt update && apt install git -y
COPY requirements.txt requirements.txt
RUN pip install  --no-cache-dir -r requirements.txt
RUN apt install fontconfig fonts-nanum -y
RUN fc-cache -fv
RUN cp /usr/share/fonts/truetype/nanum/Nanum* /usr/local/lib/python3.10/site-packages/matplotlib/mpl-data/fonts/ttf/
RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/
COPY requirements.txt requirements.txt
RUN pip install  --no-cache-dir -r requirements.txt