Spaces:
Sleeping
Sleeping
File size: 502 Bytes
ad348bd bb2c6a4 ad348bd d7ed8d0 ad348bd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile
FROM python:3.10
WORKDIR /code
RUN wget https://huggingface.co/mradermacher/shieldgemma-9b-GGUF/resolve/main/shieldgemma-9b.Q4_K_M.gguf?download=true -O shieldgemma-9b.Q4_K_M.gguf
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
ENV MPLCONFIGDIR /code/matplotlib/
CMD ["python", "app.py"] |