Open
Description
I was building the docker image trying to use the offline mode. But when the building was done, the docker showed me the log ImportError: cannot import name '_plain_int' from 'werkzeug._internal' (/usr/lib/python3.9/site-packages/werkzeug/_internal.py)
it turned out to be a version issue of werkzeug.
- just add these lines to
requirements.txt
protobuf
werkzeug==0.16.1
flask-wtf
- run the command
docker build -t cheet .
- modify the line
image: cheat.sh
in thedocker-compose.yml
to ,in this case,image: cheet
it worked.
However, since curl cannot be used offline and the localhost:8002
still shows me the hint that i'm using offline mode without Internet., so I'm wondering if there is a better way to use the docker version of the cheat.sh offline.
Metadata
Metadata
Assignees
Labels
No labels