Create Dockerfile
Browse files12345678910111213141516171819202122232425262728293031# Start from the base image of open-webuiFROM ghcr.io/open-webui/open-webui:main
# Set environment variablesENV OLLAMA_BASE_URL=http://localhost:11434ENV DEFAULT_MODEL=llama3.2b
# Install necessary packagesRUN apt-get update && apt-get install -y \ curl \ wget \ supervisor \ && rm -rf /var/lib/apt/lists/*
# Install OllamaRUN curl -sSL https://ollama.ai/install.sh | bash
# Expose necessary portsEXPOSE 8080 11434
# Create necessary directories for volumesRUN mkdir -p /root/.ollama /app/backend/data
# Copy supervisord configurationCOPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# Set volumesVOLUME ["/root/.ollama", "/app/backend/data"]
# Set the entrypoint to supervisordCMD ["/usr/bin/supervisord"]DockerfileAdded+31