Problem running/building django container image: poetry command not found
Closed this issue · 0 comments
durvalcarvalho commented
Describe the bug
The django container is breaking before "upping" correctly, due to a problem installing the poetry
tool.
To reproduce the bug
Steps to reproduce the behavior:
- Delete all running containers (if any) (
docker compose -f docker/docker-compose.yml rm -f
) - Delete the existing local image (if any) (
docker image rm jandigarte/django
) - Run the command to run the container (
docker compose -f docker/docker-compose.yml up django
) - See the error:
docker-django-1 | ./run.sh: line 2: poetry: command not found
Expected behavior
Was expected that the container would build and the execution would result in the web server serving the application.
Screen captures
Please, tell us which device/browser (with versions) are used when finding the bug:
- OS: Ubuntu 22.04.1 LTS
- Browser: Google Chrome 107.0.5304.68
- Docker: Docker version 20.10.21, build baeda1f