| # Dockerfile | |
| FROM python:3.10-slim | |
| WORKDIR /home/user/app | |
| # Copy & install your requirements (make sure this lists openai) | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of your code (app.py, helper.py, models/, etc.) | |
| COPY . . | |
| EXPOSE 8080 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"] | |