Spaces:
Runtime error
Runtime error
File size: 425 Bytes
01b6eda c25811c 01b6eda 4949f19 299a3e2 01b6eda 4949f19 299a3e2 03c893d 13819bc e93905e 773a621 299a3e2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
FROM ollama/ollama:latest
RUN apt-get update && apt-get install curl -y
# https://huggingface.co/docs/hub/spaces-sdks-docker-first-demo
RUN useradd -m -u 1000 user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH \
OLLAMA_HOST=0.0.0.0
WORKDIR $HOME/app
COPY --chown=user:user Modelfile $HOME/app/
RUN ollama serve & ollama pull llama3.1 && ollama create LlamaClaude -f ./Modelfile && ollama ps
EXPOSE 11434
|