Lamma3 / Dockerfile
BSJ2004's picture
Update Dockerfile
d694cb2 verified
raw
history blame contribute delete
361 Bytes
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV OLLAMA_HOST=0.0.0.0
ENV OLLAMA_PORT=11434
RUN apt-get update && apt-get install -y \
curl \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Install Ollama
RUN curl -fsSL https://ollama.com/install.sh | sh
EXPOSE 11434
COPY start.sh /start.sh
RUN chmod +x /start.sh
CMD ["/start.sh"]