docker / Dockerfile
Pratik Dwivedi
Dockerfile (#5)
2f8056a
raw
history blame
246 Bytes
# Use the ollama/ollama image from Docker Hub
FROM ollama/ollama
# Set the working directory
WORKDIR /root/.ollama
# RUN ollama pull llama2:7b-chat
EXPOSE 11434
ENTRYPOINT ["ollama", "serve"]
# ENTRYPOINT ["ollama", "run", "llama2:7b-chat"]