docker-curriculum
docker-curriculum copied to clipboard
ModuleNotFoundError: No module named 'markupsafe'
Hi, the trial to build the docker container docker build -t ivanzhd/foodtrucks-web .
results in this error ModuleNotFoundError: No module named 'markupsafe'. Do you have any suggestions on how to resolve it? Thanks
Hi,
pip install markupsafe
should help.
That didn't work. This is what I had to do.
- open
FoodTrucks/Dockerfile
insertRUN apt-get install -y python3-markupsafe
beforeRUN npm install
- save
FoodTrucks/Dockerfile
- re-run
docker build -t <your dockerhub username>/foodtrucks-web .