flask-file-server
flask-file-server copied to clipboard
ImportError: cannot import name secure_filename
i got this error when starting the container
Traceback (most recent call last):
File "./file_server.py", line 3, in <module>
from werkzeug import secure_filename
ImportError: cannot import name secure_filename
how to reproduce:
docker run -p 8000:8000 maaydin/flask-file-server
Macbook Pro M1 Big Sur 11.4
Replace werkzeug
with werkzeug.utils
on file_server.py
and rebuild it.