Aiden Price03/30/2023, 10:51 AM
Our base image has a non-standard
/usr/local/bin/python: Error while finding module specification for 'prefect.engine' (ModuleNotFoundError: No module named 'prefect')
on the container doesn’t seem to fix it. Any help would be greatly appreciated.
Ryan Peden03/30/2023, 1:12 PM
. Once you're in, try running
docker run -it my-image:latest bash
and see if you get the same error message. If so, run
python -m prefect.engine
to see what Python actually thinks is installed.
Aiden Price03/31/2023, 12:27 AM
So what is the command/entrypoint that Prefect runs on the start up of a
poetry run my-web-app
? Is there some way to override it?