Tomoniai's picture
Create Dockerfile
de9b100 verified
raw
history blame contribute delete
352 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/stabilityai/stable-code-instruct-3b/resolve/main/stable-code-3b-q5_k_m.gguf -O model.gguf
RUN useradd -m -u 1000 user
USER user
COPY --chown=user . .
CMD ["python", "app.py"]