fix(Dockerfile): add missing dependencies for PILLOW
This commit is contained in:
parent
f33ed12fb6
commit
47cb58c9b1
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ WORKDIR /usr/local/src/httpaste
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN apt-get update && \
|
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 pip install pipenv && \
|
||||||
python3 -m pipenv install --deploy --system --verbose && \
|
python3 -m pipenv install --deploy --system --verbose && \
|
||||||
python3 setup.py install && \
|
python3 setup.py install && \
|
||||||
|
|
@ -27,4 +27,4 @@ FROM base as uwsgi
|
||||||
|
|
||||||
ENTRYPOINT ["uwsgi", "--master", "--enable-threads", "--manage-script-name", "-w", "httpaste.wsgi:application"]
|
ENTRYPOINT ["uwsgi", "--master", "--enable-threads", "--manage-script-name", "-w", "httpaste.wsgi:application"]
|
||||||
|
|
||||||
CMD ["-s", "/tmp/yourapplication.sock"]
|
CMD ["-s", "/tmp/yourapplication.sock"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue