Traceback (most recent call last):
File "/app/z.py", line 9, in <module>
app.run()
File "/usr/local/lib/python3.11/site-packages/quart/app.py", line 864, in run
restart()
File "/usr/local/lib/python3.11/site-packages/quart/utils.py", line 164, in restart
os.execv(executable, [executable] + args)
PermissionError: [Errno 13] Permission denied
When I try to replicate it outside of docker container, hot-reload works fine.
Hot reload cause a permission denied error in docker container:
How to replicate the bug:
docker run --rm -it -v $PWD:/app python:3.11-alpine ash(mount current directory)pip install quartapp.py, code copy from https://pgjones.gitlab.io/quart/tutorials/quickstart.htmlpython /app/app.pyapp.pyand you will see the errorWhen I try to replicate it outside of docker container, hot-reload works fine.
Environment: