Browse Source

Rename main script to doorboy.py

master
Lauri Võsandi 4 months ago
parent
commit
496df2db02
  1. 2
      Dockerfile
  2. 0
      doorboy.py

2
Dockerfile

@ -5,4 +5,4 @@ COPY requirements.txt ./
RUN pip install -r requirements.txt
COPY *.py ./
CMD ["gunicorn", "--worker-class", "sanic.worker.GunicornWorker", "--workers", "10", "--bind", "[::]:5000", "main:app", "--timeout", "90"]
CMD ["gunicorn", "--worker-class", "sanic.worker.GunicornWorker", "--workers", "10", "--bind", "[::]:5000", "doorboy:app", "--timeout", "90"]

0
main.py → doorboy.py

Loading…
Cancel
Save