ollama-openwebui / Dockerfile
MoiMoi-01's picture
Update Dockerfile
aa317de verified
raw
history blame
388 Bytes
FROM python:3.11-slim
# Install dependencies
RUN apt update && apt install -y curl && rm -rf /var/lib/apt/lists/*
# Install Ollama
RUN curl -fsSL https://ollama.com/install.sh | bash
# Install OpenWebUI using pip
RUN pip install open-webui
# Expose the web UI port
EXPOSE 3000
# Start Ollama and OpenWebUI
CMD ["bash", "-c", "ollama serve & ollama pull llama3.2 & open-webui serve"]