Fix cffi installation in Dockerfile (#364)

The Python cffi package requires the libc, libffi and openssl
development packages, as well as gcc to compile it.
This commit is contained in:
Carey Metcalfe 2018-08-03 11:11:12 -04:00 committed by Alexis Metaireau
parent 9caf213e1d
commit 94e2befb82

View file

@ -1,6 +1,7 @@
FROM python:3.6-alpine FROM python:3.6-alpine
RUN mkdir /ihatemoney &&\ RUN apk add gcc libc-dev libffi-dev openssl-dev &&\
mkdir /ihatemoney &&\
mkdir -p /etc/ihatemoney &&\ mkdir -p /etc/ihatemoney &&\
pip install --no-cache-dir gunicorn pymysql pip install --no-cache-dir gunicorn pymysql