content: FROM python:3.10-slim
  
  WORKDIR /app
  
  RUN apt-get update && apt-get install -y \
      build-essential \
      libpq-dev \
      && rm -rf /var/lib/apt/lists/*
  
  RUN pip install --upgrade pip
  
  COPY requirements.txt .
  
  RUN pip install -r requirements.txt
  
  COPY . .
  
  EXPOSE 8501
  
  ENTRYPOINT [ "streamlit", "run", "main.py", "--server.port=8501"]
  