Update Dockerfile
Browse files1123456678910891210111213141516171718# Use the official optimized, production-ready enterprise image from Open WebUI# Pull the official, enterprise production image from Open WebUIFROM ghcr.io/open-webui/open-webui:main
USER root
# Configure absolute system environments to run smoothly within Hugging Face boundaries# Tell Open WebUI to listen on Hugging Face's mandatory port 7860ENV PORT=7860ENV HOME=/tmpENV WEBUI_AUTH=trueENV DATA_DIR=/tmp/open-webui/dataENV ENV=prod
# Give the system write permissions to maintain database logs without crashes# Establish isolated internal directory paths for Jarvis's persistent memory vaultENV DATA_DIR=/tmp/open-webui/dataRUN mkdir -p /tmp/open-webui/data && chmod -R 777 /tmp/open-webui
# Expose the cloud container's entry portEXPOSE 7860
CMD ["bash", "/start.sh"]# Bypassing hardcoded shell files. The base image automatically triggers its startup scripts natively.
Dockerfile+8-7