Is it possible to use the `.serve` method on a flo...
# prefect-getting-started
m
Is it possible to use the
.serve
method on a flow inside a Docker container and run it against Prefect cloud?
Answering my own question, yes you can! You just have to set the necessary environment variables inside the container:
Copy code
PREFECT_API_URL="<https://api.prefect.cloud/api/accounts/[ACCOUNT-ID]/workspaces/[WORKSPACE-ID]>"
PREFECT_API_KEY="[API-KEY]"
🙌 6