FROM python:3.9-slim ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y wget curl gnupg xvfb --no-install-recommends RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb RUN apt-get update && apt-get install -y ./google-chrome-stable_current_amd64.deb -f \ && rm google-chrome-stable_current_amd64.deb \ && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir requests pyvirtualdisplay seleniumbase groq WORKDIR /app COPY . . EXPOSE 7860 CMD ["python", "main.py"]