doorboy-proxy/Dockerfile

9 lines
242 B
Docker
Raw Permalink Normal View History

2021-03-17 07:58:03 +00:00
FROM python:3
WORKDIR /app
COPY requirements.txt ./
RUN pip install -r requirements.txt
COPY *.py ./
2021-04-02 09:17:39 +00:00
CMD ["gunicorn", "--worker-class", "sanic.worker.GunicornWorker", "--workers", "10", "--bind", "[::]:5000", "main:app", "--timeout", "90"]