Sign inSign up

decibel/uwsgi-nginx-flask-docker

By decibel

•Updated almost 7 years ago

Pandas and SciPy Python libraries flask

Image
0

8.5K

decibel/uwsgi-nginx-flask-docker repository overview

⁠uwsgi-nginx-flask-docker

Pandas and SciPy Python libraries needs glibc headers in order to be installed through pip. In latest Alpine distributions, the needed glibc header has been renamed. Furthermore, the latest NumPy release (1.14.4) breake the installation of Pandas. At the moment, the PyPI community didn't fixed this stuff, so this is a repo to build a Docker image based on Alpine containing the workaround for the installation of NumPy (1.14.3), Pandas (0.23.0) and scikit-learn (0.19.2):

  • proper link to the needed glibc header
  • preventive build of Pandas dependencies in order to avoid the latest NumPy version

As parent image, we considered tiangolo/uwsgi-nginx-flask:python2.7-alpine3.7 (https://github.com/tiangolo/uwsgi-nginx-flask-docker/tree/master/python2.7-alpine3.7⁠), so the resulting image will host a Python 2.7 Flask application based on uWSGI and Nginx with scientific libraries installed.

Tag summary

Content type

Image

Digest

Size

540.8 MB

Last updated

almost 7 years ago

docker pull decibel/uwsgi-nginx-flask-docker:python3.7-alpine3.9-pandas-scipy-scikitlearn-nltk-spacy-staging