Category "dockerfile"

Backend docker image does not wait until db becomes available

I am trying to docker-compose up my containers, one for backend and another one for the database (postgis). If I docker-compose up db, I see db_1 | 2021-11-23

docker build failed after pip installed requirements with exit code 137

I am starting a new django project and want to dockerize the project, on my ubuntu. when I run docker-compose up --build I got a strange Error. It seems that it

E: Package 'mysql-client' has no installation candidate in php-fpm image build using docker compose

Im fairly new to docker and so im trying to learn more about it using a laravel project, im following this tutorial: https://www.digitalocean.com/community/tuto