← ClaudeAtlas

spoonos-deployment-guidelisted

Deploy SpoonOS agents to production environments. Use when containerizing agents with Docker, deploying to cloud platforms (AWS, GCP, Vercel), or setting up self-hosted infrastructure.
Gabssama12/spoon-awesome-skill · ★ 1 · DevOps & Infrastructure · score 64
Install: claude install-skill Gabssama12/spoon-awesome-skill
# Deployment Guide Production deployment patterns for SpoonOS agents. ## Deployment Options | Method | Best For | Complexity | |--------|----------|------------| | Docker | Portability, consistency | Low | | AWS Lambda | Serverless, event-driven | Medium | | GCP Cloud Run | Auto-scaling containers | Medium | | Vercel | API endpoints | Low | | VPS | Full control, cost-effective | Medium | ## Docker Deployment ### Dockerfile ```dockerfile # Dockerfile FROM python:3.12-slim WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ gcc \ && rm -rf /var/lib/apt/lists/* # Install Python dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application COPY . . # Create non-root user RUN useradd -m appuser && chown -R appuser:appuser /app USER appuser # Environment ENV PYTHONUNBUFFERED=1 ENV PYTHONDONTWRITEBYTECODE=1 # Health check HEALTHCHECK --interval=30s --timeout=10s \ CMD python -c "import spoon_ai; print('ok')" || exit 1 # Run CMD ["python", "main.py"] ``` ### Docker Compose ```yaml # docker-compose.yml version: '3.8' services: agent: build: . restart: unless-stopped env_file: - .env environment: - LOG_LEVEL=INFO ports: - "8000:8000" volumes: - ./data:/app/data healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s timeout: 10s retries: 3 redis: image: redis:7-alpi