| FROM python:3.13.1-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev | |
| RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["sh", "-c", "cd APP && uvicorn main:app --host 0.0.0.0 --port 7860"] |