Open OkkioXavier opened 1 year ago
When building the docker container build failed with:
ImportError: cannot import name 'escape' from 'jinja2'
Fix:
Upgrade flask and gunicorn to remove dependency on escape
When running docker run from the flask directory the container exited immediately.
CMD ["python", "wsgi.py"]
to
CMD ["python", "app.py"]
Functional testing:
docker-compose
docker run
Upgrading requirements.txt fixes this issue
Flask==3.0.0 gunicorn==21.2.0
When building the docker container build failed with:
ImportError: cannot import name 'escape' from 'jinja2'
Fix:
Upgrade flask and gunicorn to remove dependency on escape
When running docker run from the flask directory the container exited immediately.
Fix:
to
Functional testing:
docker-compose
docker run