Chat-w-git-Llama2 / Dockerfile
thewise's picture
Update Dockerfile
c50ceee verified
raw
history blame
537 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y build-essential curl git && rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Create the github_repo directory directly without specifying user permissions
RUN mkdir /app/github_repo && chmod 777 /app/github_repo
# Copy application files directly without specifying user permissions
COPY . /app
# Install dependencies
RUN pip install --upgrade pip && pip install -r requirements.txt
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]