Chat-w-git-Codellama / Dockerfile
thewise's picture
Update Dockerfile
1a1dda1 verified
raw
history blame
455 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
# Copy application files as the non-root user to avoid permission issues
COPY . /app
# Install dependencies, ensuring the streamlit executable is in PATH
RUN pip install --upgrade pip && pip install --user -r requirements.txt
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]