Skip to content

Commit cf79ac2

Browse files
docker setup
1 parent 3a01ebf commit cf79ac2

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,19 @@ This is a tutorial project of [Pocket Flow](https://github.com/The-Pocket/Pocket
122122

123123
The application will crawl the repository, analyze the codebase structure, generate tutorial content in the specified language, and save the output in the specified directory (default: ./output).
124124

125+
## 🐳 Running with Docker
126+
127+
To run this project in a Docker container:
128+
129+
### 1. Build the Docker image
130+
```bash
131+
docker build -t pocketflow-app .
132+
133+
### 2.Run the conatainer
134+
docker run -it --rm pocketflow-app
135+
136+
137+
125138
## 💡 Development Tutorial
126139
127140
- I built using [**Agentic Coding**](https://zacharyhuang.substack.com/p/agentic-coding-the-most-fun-way-to), the fastest development paradigm, where humans simply [design](docs/design.md) and agents [code](flow.py).

utils/call_llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def call_llm(prompt: str, use_cache: bool = True) -> str:
5656

5757
# You can comment the previous line and use the AI Studio key instead:
5858
client = genai.Client(
59-
api_key=os.getenv("GEMINI_API_KEY", "AIzaSyDzXuRp0hP6wAWUFTGRrUPDiKWffUm7vGk"),
59+
api_key=os.getenv("GEMINI_API_KEY", ""),
6060
)
6161
model = os.getenv("GEMINI_MODEL", "gemini-2.5-pro-exp-03-25")
6262
# model = os.getenv("GEMINI_MODEL", "gemini-2.5-flash-preview-04-17")

0 commit comments

Comments
 (0)