FROM python:3.12.8-slim-bullseye WORKDIR /app COPY . /app RUN apt-get update RUN apt-get install gcc libpq-dev -y RUN pip install --no-cache-dir -r requirements.txt EXPOSE 8000 # Start the FastAPI server CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]