Drop gunicorn and bind to 0.0.0.0 (#12)

Reviewed-on: #12
Co-authored-by: Madis Mägi <madis.magi@k-space.ee>
Co-committed-by: Madis Mägi <madis.magi@k-space.ee>
This commit is contained in:
2021-10-26 16:37:57 +00:00
committed by Lauri Võsandi
parent 8cf4bf7a45
commit c61f8175e6
3 changed files with 2 additions and 3 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", "doorboy:app", "--timeout", "90"]
CMD python doorboy.py