Sign inSign up

paulflorea/python3-uwsgi-node-wkhtmltopdf

By paulflorea

Updated almost 8 years ago

wkhtmltopdf is installed to be able to perform pdf exports of data in the server

Image
0

1.7K

paulflorea/python3-uwsgi-node-wkhtmltopdf repository overview

Python3-uWSGI-node-wkhtmltopdf

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-node-wkhtmltopdf: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;\

# set user
USER www-data

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

Tag summary

Content type

Image

Digest

Size

377.5 MB

Last updated

almost 9 years ago

docker pull paulflorea/python3-uwsgi-node-wkhtmltopdf