Files
project-kino/backend/Dockerfile
Paperclip Agent 20be1d73be feat: implement minimal vertical slice — backend, worker, frontend, docker-compose
- FastAPI backend with /health, /api/search, /api/downloads CRUD + retry
- Provider abstraction (mock provider for architecture validation)
- SQLAlchemy models with DownloadStatus state machine
- Python polling worker simulating job lifecycle without real downloads
- React/Vite/TypeScript frontend: search, results table, download queue with progress
- Docker Compose wiring all services with postgres healthcheck
- .env.example, updated README and .gitignore

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-13 17:54:45 +02:00

10 lines
277 B
Docker

FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000"]