- 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>
10 lines
277 B
Docker
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"]
|