Create Dockerfile
Browse files1234567891011121314151617# Use the official optimized, production-ready enterprise image from Open WebUIFROM ghcr.io/open-webui/open-webui:main
USER 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-webui
EXPOSE 7860
CMD ["bash", "/start.sh"]DockerfileAdded+17