← スキル一覧に戻る

dockerfile-builder
by nadeemsangrasi
⭐ 0🍴 0📅 2025年12月17日
SKILL.md
name: Dockerfile Builder description: Generate the full production Dockerfile for the backend with multi-stage build, proper dependencies, and Hugging Face Spaces compatibility.
Dockerfile Builder
Instructions
-
Generate production Dockerfile with multi-stage build:
- Use Python slim base image
- Install FastAPI, Uvicorn, Qdrant client, Agent SDK dependencies
- Copy application code efficiently
- Set up proper working directory
-
Configure for Hugging Face Spaces compatibility:
- Expose port 7860 as required
- Set proper user permissions
- Include health check if needed
- Optimize image size for deployment
-
Implement multi-stage build pattern:
- Build stage for dependencies
- Final stage with minimal runtime
- Copy only necessary files
- Clean up build artifacts
-
Add proper runtime configuration:
- Set environment variables
- Configure startup command
- Add non-root user if security required
- Include proper signal handling
-
Follow Context7 MCP standards:
- Ensure compatibility with Hugging Face Spaces Docker mode
- Follow deterministic build patterns
- Include proper error handling
- Document all configuration options
Examples
Input: "Create Dockerfile for Hugging Face Spaces deployment" Output: Creates Dockerfile with multi-stage build that's compatible with Hugging Face Spaces.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です