A web app stack that can minimize the front-end on build
2.0K
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
Content type
Image
Digest
Size
314 MB
Last updated
over 9 years ago
docker pull paulflorea/python3-uwsgi-bower-grunt