Last active
November 14, 2019 03:12
-
-
Save leollon/1091d0e0bd74c7ba4f22e86b4d1654f1 to your computer and use it in GitHub Desktop.
python3.7-alpine.dockerfile for uwsgi and pillow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.7-alpine | |
RUN apk add --no-cache \ | |
gcc linux-headers libc-dev \ # related to build uwsgi | |
mariadb-dev python3-dev libffi-dev openssl-dev \ # related to mysql, cffi, and ssl. | |
jpeg-dev zlib-dev bash # related to python package pillow | |
RUN rm -rf \ | |
/usr/local/share/doc \ | |
/usr/local/share/man \ | |
&& find /usr/local -name '*.a' -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment