Chat-w-git-Llama2 / Dockerfile
Rohan Kataria
added chatollama and ollama_embedding
ae21767
FROM python:3.10-slim
RUN apt-get update && apt-get install -y \
build-essential \
curl \
software-properties-common \
git \
&& rm -rf /var/lib/apt/lists/*
# This copies everything in your current directory to the /app directory in the container.
COPY . /app
# This sets the /app directory as the working directory for any RUN, CMD, ENTRYPOINT, or COPY instructions that follow.
WORKDIR /app
# This runs pip install for all the packages listed in your requirements.txt file.
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
EXPOSE 8501
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]