FROM ubuntu:22.04 RUN apt-get update && apt-get install -y python3 python3-pip && apt-get clean RUN apt install poppler-utils -y # Install the necessary packages WORKDIR /app COPY . /app RUN python3 -m pip install --upgrade pip EXPOSE 7860 RUN pip install -r requirements.txt ENV GRADIO_SERVER_NAME="0.0.0.0" CMD ["python3", "app.py"]