add admin bot
This commit is contained in:
parent
8a20b91c54
commit
2d248b9ce0
10 changed files with 481 additions and 110 deletions
|
|
@ -21,5 +21,6 @@ RUN mkdir -p downloads
|
|||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
# Gunicorn: 1 worker (последовательная обработка), без таймаута
|
||||
CMD ["gunicorn", "--workers=1", "--timeout=0", "--bind=0.0.0.0:5000", "app:app"]
|
||||
# Порт берется из переменной окружения PORT (по умолчанию 5000)
|
||||
CMD sh -c "gunicorn --workers=1 --timeout=0 --bind=0.0.0.0:${PORT:-5000} app:app"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue