init db and docker

This commit is contained in:
Harivansh Rathi 2025-12-30 16:15:46 +05:30
commit 1a980a7a70
5 changed files with 178 additions and 0 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
FROM python:3.12-slim
WORKDIR /app
# Install uv for fast package management
RUN pip install uv
# Copy dependency files
COPY pyproject.toml .
# Install dependencies
RUN uv pip install --system -e .
# Copy application code
COPY app/ app/
# Run with uvicorn
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]