Skip to content

Tag: docker

How to add Python and pip or conda packages to DDEV

I need to execute a Python script inside the Ddev web docker image, but am having trouble figuring out what Debian python libraries are required to get Python binary with additional py package dependencies working. Answer Python 2 on DDEV You really don’t want to be using Python 2 do you? (See caveats 1 &…

flask app not running automatically from Dockerfile

My simple flask app is not automatically starting when I run in docker, though I have added CMD command correctly. I am able to run flask using python3 /app/app.py manually from container shell. Hence, no issue with code or command I run docker container as When I log in to docker container and run “ps …