echo / Dockerfile
gatesmans's picture
Create Dockerfile
be4f297 verified
Raw History Blame Contribute Delete
554 Bytes
# 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.