Sign inSign up

paulflorea/python3-uwsgi-bower-grunt

By paulflorea

Updated over 9 years ago

A web app stack that can minimize the front-end on build

Image
2

2.0K

paulflorea/python3-uwsgi-bower-grunt repository overview

Python3-uWSGI-bower-grunt

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-bower-grunt:latest

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

RUN cd /var/www/app/static;\
    npm install;\
    bower install --allow-root;\
    grunt build;

# set user
USER www-data

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

Tag summary

Content type

Image

Digest

Size

314 MB

Last updated

over 9 years ago

docker pull paulflorea/python3-uwsgi-bower-grunt