tiangolo / uvicorn-gunicorn-fastapi-docker

Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unicorn reload not working

samgj18 opened this issue · comments

When I try to run this command sudo docker run --name test -d -p 8000:8000 -v $(pwd):/app myimage /start-reload.sh (I changed the ports). The reload feature is not working, all I get is:

error walking file system: FileNotFoundError [Errno 2] No such file or directory: '/app/venv/bin/python'

@samgj18 did you find a solution for this issue? I am experiencing the same with the start.sh and the start-reload.sh.

Hey @csutera unfortunately this was the last time I touched Python and I don’t remember how I fixed it🥲