Update Dockerfile
Browse files1 unmodified line23456567891011121389101112131415161516171819181920212221222324252425262728272829303130311 unmodified lineFROM ghcr.io/open-webui/open-webui:main
# Set environment variablesENV OLLAMA_BASE_URL=http://localhost:11434ENV DEFAULT_MODEL=llama3.2b# ENV OLLAMA_BASE_URL=http://localhost:11434# ENV DEFAULT_MODEL=llama3.2b
# Install necessary packagesRUN apt-get update && apt-get install -y \ curl \ wget \ supervisor \ && rm -rf /var/lib/apt/lists/*# # Install necessary packages# RUN 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# # Install Ollama# RUN curl -sSL https://ollama.ai/install.sh | bash
# Expose necessary portsEXPOSE 8080 11434# # Expose necessary ports# EXPOSE 8080 11434
# Create necessary directories for volumesRUN mkdir -p /root/.ollama /app/backend/data# # Create necessary directories for volumes# RUN mkdir -p /root/.ollama /app/backend/data
# Copy supervisord configurationCOPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf# # Copy supervisord configuration# COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# Set volumesVOLUME ["/root/.ollama", "/app/backend/data"]# # Set volumes# VOLUME ["/root/.ollama", "/app/backend/data"]
# Set the entrypoint to supervisordCMD ["/usr/bin/supervisord"]# # Set the entrypoint to supervisord# CMD ["/usr/bin/supervisord"]Dockerfile+20-20