Watch for changes in HTML files too

This commit is contained in:
2022-11-03 07:20:30 +00:00
parent f90f388e87
commit 74c46f2647
3 changed files with 3 additions and 3 deletions

View File

@@ -19,5 +19,5 @@ COPY requirements.prod.txt /code/
RUN python -m venv /venv
RUN . /venv/bin/activate && pip install -r requirements.prod.txt
# CMD . /venv/bin/activate && uwsgi --ini /conf/uwsgi.ini
CMD . /venv/bin/activate && uvicorn --reload --workers 2 --uds /var/run/socks/app.sock app.asgi:application
CMD . /venv/bin/activate && uvicorn --reload --reload-include *.html --workers 2 --uds /var/run/socks/app.sock app.asgi:application
# CMD . /venv/bin/activate && gunicorn -b 0.0.0.0:8000 --reload app.asgi:application -k uvicorn.workers.UvicornWorker

View File

@@ -19,3 +19,4 @@ pydantic
alpaca-py
oandapyV20
glom
watchfiles