CoolFace
Apppublic

jaothan/DockerGenAI_Streamlit

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
pdf_bot.Dockerfile24 linesDownload Raw Back to root
1FROM langchain/langchain
2
3WORKDIR /app
4
5RUN apt-get update && apt-get install -y \
6    build-essential \
7    curl \
8    software-properties-common \
9    && rm -rf /var/lib/apt/lists/*
10
11COPY requirements.txt .
12
13RUN pip install --upgrade -r requirements.txt
14
15COPY pdf_bot.py .
16COPY utils.py .
17COPY chains.py .
18
19EXPOSE 8503
20
21HEALTHCHECK CMD curl --fail http://localhost:8503/_stcore/health
22
23ENTRYPOINT ["streamlit", "run", "pdf_bot.py", "--server.port=8503", "--server.address=0.0.0.0"]
24