Stablecode-Chat / Dockerfile
Tomoniai's picture
Update Dockerfile
a781ca5 verified
raw history blame
No virus
345 Bytes
FROM python:3.10
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN wget https://huggingface.co/TheBloke/stable-code-3b-GGUF/resolve/main/stable-code-3b.Q4_K_M.gguf -O model.gguf
RUN useradd -m -u 1000 user
USER user
COPY --chown=user . .
CMD ["python", "app.py"]