Skip to content

DecibelInsight/uwsgi-nginx-flask-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

173 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Docker image with uWSGI and Nginx for Flask applications in Python running in a single container. Optionally with Alpine Linux.

Resources

License

Stars

0 stars

Watchers

5 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 52.1%
  • Dockerfile 41.8%
  • Python 4.6%
  • Makefile 1.5%