FROM python:3.10-slim

WORKDIR /app

# Install FastAPI and dependencies
RUN pip install --no-cache-dir fastapi uvicorn jinja2 python-multipart

COPY . .
# Run the app on port 80
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
