Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 301 Bytes
FROM python:3.8
RUN pip install Flask requests psycopg2 psycogreen uwsgi gevent
COPY app.py /app.py
COPY patched.py /patched.py
CMD uwsgi --master \
--single-interpreter \
--workers $WORKERS \
--gevent $ASYNC_CORES \
--protocol http \
--socket 0.0.0.0:$PORT_APP \
--module $MODULE:app
You can’t perform that action at this time.