Rename main script to doorboy.py

This commit is contained in:
Lauri Võsandi 2021-06-12 20:00:04 +00:00
parent f068ae19ac
commit 496df2db02
2 changed files with 1 additions and 1 deletions

View File

@ -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"]

View File