Merge pull request #425 from vincentbernat/fix/dockerfile-cffi

docker: install cffi inside virtualenv
This commit is contained in:
Benoît Latinier 2018-05-02 23:47:24 +02:00 committed by GitHub
commit 97721c7eef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@ COPY --from=0 /src .
RUN apt-get -qqy update && apt-get -qqy install python3-dev sqlite3
RUN python3 -m venv /isso \
&& . /isso/bin/activate \
&& python setup.py install \
&& pip install gunicorn
&& pip install gunicorn cffi \
&& python setup.py install
# Third, create final repository
FROM python:3-slim-stretch