feat(docker): add Docker deployment configuration and API server

Add Docker deployment setup with FastAPI server implementation for Crawl4AI:
- Create Dockerfile with Python 3.10 and Playwright dependencies
- Implement FastAPI server with streaming and non-streaming endpoints
- Add request/response models and JSON serialization
- Include test script for API verification

Also includes:
- Update .gitignore for Continue development files
- Add project rules in .continuerules
- Clean up async_dispatcher.py formatting
This commit is contained in:
UncleCode
2025-01-31 15:22:21 +08:00
parent f81712eb91
commit ce4f04dad2
9 changed files with 426 additions and 638 deletions

4
.continuerules Normal file
View File

@@ -0,0 +1,4 @@
- This project Crawl4ai, I am very sensitive to any change, make sure to follow my instruction closely.
- Never apply changes I never asked, you are not 100$ free agent to do whatever you want.
- All changes must be relevant to the requests I asked for.
- Do not jumpt tp make changes first share your plane and explain to me what you wanna do.