Dockerfile executes python script not as expected
For a university assignment I need to migrate a postgres dump to couchbase. The whole process has to run within docker services. At the end the whole migration should be executed by running docker compose.