FROM python:3.9-slim WORKDIR /app # Install git RUN apt-get update && apt-get install -y git # Clone the repository RUN git clone https://github.com/Daanworg/cloud-rag-webhook.git /app # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose the port the app runs on EXPOSE 7860 # Set environment variables ENV PORT=7860 # Command to run the app CMD ["python", "app.py"]