Update Dockerfile
Browse files1234567891011121314151617# Use the official optimized, production-ready enterprise image from Open WebUIFROM ghcr.io/open-webui/open-webui:mainUSER root# Configure absolute system environments to run smoothly within Hugging Face boundariesENV PORT=7860ENV HOME=/tmpENV WEBUI_AUTH=trueENV DATA_DIR=/tmp/open-webui/data# Give the system write permissions to maintain database logs without crashesRUN mkdir -p /tmp/open-webui/data && chmod -R 777 /tmp/open-webuiEXPOSE 7860CMD ["bash", "/start.sh"]123456789101112131415161718# Pull the official, enterprise production image from Open WebUIFROM ghcr.io/open-webui/open-webui:mainUSER root# Tell Open WebUI to listen on Hugging Face's mandatory port 7860ENV PORT=7860ENV ENV=prod# 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# Bypassing hardcoded shell files. The base image automatically triggers its startup scripts natively.
Dockerfile+8-7