File size: 554 Bytes
be4f297 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Pull the official, enterprise production image from Open WebUI
FROM ghcr.io/open-webui/open-webui:main
USER root
# Tell Open WebUI to listen on Hugging Face's mandatory port 7860
ENV PORT=7860
ENV ENV=prod
# Establish isolated internal directory paths for Jarvis's persistent memory vault
ENV DATA_DIR=/tmp/open-webui/data
RUN mkdir -p /tmp/open-webui/data && chmod -R 777 /tmp/open-webui
# Expose the cloud container's entry port
EXPOSE 7860
# Bypassing hardcoded shell files. The base image automatically triggers its startup scripts natively.
|