Docker-GenAI / pdf_bot.Dockerfile
jaothan's picture
Upload 47 files
88f42a4 verified
raw
history blame contribute delete
507 Bytes
FROM langchain/langchain
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
curl \
software-properties-common \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --upgrade -r requirements.txt
COPY pdf_bot.py .
COPY utils.py .
COPY chains.py .
EXPOSE 8503
HEALTHCHECK CMD curl --fail http://localhost:8503/_stcore/health
ENTRYPOINT ["streamlit", "run", "pdf_bot.py", "--server.port=8503", "--server.address=0.0.0.0"]