fix(Dockerfile): add missing dependencies for PILLOW

This commit is contained in:
Tiara Rodney 2022-04-16 22:48:00 +02:00
parent f33ed12fb6
commit 47cb58c9b1

View file

@ -14,7 +14,7 @@ WORKDIR /usr/local/src/httpaste
COPY . .
RUN apt-get update && \
apt-get install -y libffi-dev gcc && \
apt-get install -y libffi-dev gcc fontconfig && \
python3 -m pip install pipenv && \
python3 -m pipenv install --deploy --system --verbose && \
python3 setup.py install && \
@ -27,4 +27,4 @@ FROM base as uwsgi
ENTRYPOINT ["uwsgi", "--master", "--enable-threads", "--manage-script-name", "-w", "httpaste.wsgi:application"]
CMD ["-s", "/tmp/yourapplication.sock"]
CMD ["-s", "/tmp/yourapplication.sock"]