python3 uwsgi plugin

This commit is contained in:
Shaquille Soekhlal 2021-02-15 12:08:23 +01:00
parent 85fa11315b
commit fd06a6c72e
2 changed files with 3 additions and 2 deletions

View File

@ -18,3 +18,4 @@ harakiri = 20
max-requests = 5000
logs = %(base)/uwsgi_info.logs
daemonize = %(base)/uwsgi.logs
plugins = python3

View File

@ -4,7 +4,7 @@ RUN apt-get clean && \
apt-get update && \
apt-get install -y nginx smbclient default-libmysqlclient-dev \
gcc python3-cffi libcairo2 libpango-1.0-0 libpangocairo-1.0-0 \
libgdk-pixbuf2.0-0 libffi-dev shared-mime-info uwsgi-core
libgdk-pixbuf2.0-0 libffi-dev shared-mime-info uwsgi-core uwsgi-plugin-python3
# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1