Sign inSign up

paulflorea/python3-uwsgi-scipy-numpy

By paulflorea

Updated almost 9 years ago

An extension to the base image with SciPy and NumPy pre-installed to speed up build time.

Image
1

3.7K

paulflorea/python3-uwsgi-scipy-numpy repository overview

Python3-uWSGI-SciPy-NumPy

To setup your application: put your requirements.txt file in the ./src directory, your uwsgi.ini file in the ./uwsgi directory, and include a Dockerfile like this in the project root.

FROM paulflorea/python3-uwsgi-scipy-numpy:alpine

# install my packages
ADD . /var/www/app/
RUN pip install -r /var/www/app/src/requirements.txt

# add uwsgi user
RUN addgroup -g 50 -S www-data;\
    adduser -S -G www-data -u 50 -s /bin/bash -h www-data www-data
USER www-data

CMD uwsgi --ini /var/www/app/uwsgi/uwsgi.ini --callable app

Note: for best usage of this image, keep scipy and numpy out of the requirements file.

Tag summary

Content type

Image

Digest

Size

201.2 MB

Last updated

almost 9 years ago

docker pull paulflorea/python3-uwsgi-scipy-numpy:latest-alpine