Bharat Khaneja
02/05/2025, 7:15 PMMarvin
02/05/2025, 7:16 PMprefect.yaml
file to define your deployment configuration. This file can be placed in your project directory and should include details about how and where to run the flow. You can specify local execution by configuring the appropriate infrastructure block.
3. Deploy Locally: Use the Prefect CLI to deploy the flow without building a Docker image. You can run the deployment using the command:
bash
prefect deploy --prefect-file path/to/your_prefect.yaml
This command will utilize the configuration specified in your prefect.yaml
file.
For more detailed guidance, you might want to check the Prefect Documentation on deploying flows without Docker.
If you're looking for an example of running a local process worker, you might find this example helpful. It demonstrates running a Prefect server locally and executing flows without Docker.