FROM python:3.13-slim-bookworm WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ gcc \ && rm -rf /var/lib/apt/lists/* COPY requirements-dev.txt . # Install Python dependencies (dev lockfile includes test tooling) RUN pip install --no-cache-dir -r requirements-dev.txt # The source code will be mounted as a volume, so we don't copy it here # Expose port EXPOSE 8000 # Default command (can be overridden in docker-compose) CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]