File size: 389 Bytes
059ea91 2f84a7c 059ea91 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
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/NousResearch/Hermes-2-Theta-Llama-3-8B-GGUF/resolve/main/Hermes-2-Pro-Llama-3-Instruct-Merged-DPO-Q8_0.gguf -O model.gguf
RUN useradd -m -u 1000 user
USER user
COPY --chown=user . .
CMD ["python", "app.py"]
|