doorboy-proxy/Dockerfile

9 lines
245 B
Docker
Raw 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-06-12 20:00:04 +00:00
CMD ["gunicorn", "--worker-class", "sanic.worker.GunicornWorker", "--workers", "10", "--bind", "[::]:5000", "doorboy:app", "--timeout", "90"]