Should itsdangerous and Jinja2 be installed in Dockerfile (Chapter 12, Section 6)? · Issue #4 · PacktPublishing/Expert-Python-Programming-Fourth-Edition · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
In the Chapter 12, Section 6, docker-compose reports error for app_1.
Suggestion
I think that itsdangerous and Jinja2 should be installed explicitly like below (c.f. Flask issue).
(The versions of its dangerous and Jinja2 are just example. No specific reason.)
With this change, the docker-compose error resolved and API request(http://localhost:8000/test) succeeded
The text was updated successfully, but these errors were encountered: