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