mirror of
https://github.com/run-llama/workflows-py.git
synced 2026-07-18 16:14:58 -04:00
3fb159201d
Co-authored-by: Claude <noreply@anthropic.com>
Docker Example
A minimal container image that serves a workflow with WorkflowServer.
Files
| File | Purpose |
|---|---|
app.py |
The workflow and WorkflowServer entrypoint. |
Dockerfile |
Builds a slim Python image with the app and its dependencies. |
requirements.txt |
Runtime dependencies installed into the image. |
Running
docker build -t workflows-example examples/docker
docker run --rm -p 8000:8000 workflows-example
Then call it from the host:
curl -X POST http://localhost:8000/workflows/echo/run -d '{"start_event": {"message": "hi"}}'