hey y’all can you let me know if i’m missing somet...
# prefect-server
l
hey y’all can you let me know if i’m missing something? i’m building a docker image based on the prefect image
Copy code
FROM prefecthq/prefect:latest-python3.9
but when i start up my container and try to use the prefect cli, it says prefect isn’t installed
Copy code
$ prefect
/bin/sh: 5: prefect: not found
k
Man…that…is very weird. Let me try this
So I cannot replicate this when I do:
docker run -it prefecthq/prefect:latest-python3.9 bash
. And then try
prefect
. Does this also not work for you?
a
you need to add Prefect to your Python PATH - try this on Linux:
Copy code
PATH="$HOME/.local/bin:$PATH"
export PATH
l
thanks! i realized there was an error in my docker commands and i wasn’t starting the container that i was building with prefect 🤦‍♀️ sorry about that
k
No worries! Glad you got it figured out!