Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -1,12 +1,9 @@
|
|
| 1 |
FROM ghcr.io/open-webui/open-webui:main
|
| 2 |
|
| 3 |
-
# Expose the port for Hugging Face Spaces
|
| 4 |
EXPOSE 7860
|
| 5 |
|
| 6 |
-
# Set environment variables for HF Spaces
|
| 7 |
ENV PORT=7860
|
| 8 |
ENV HOST=0.0.0.0
|
| 9 |
|
| 10 |
-
#
|
| 11 |
-
|
| 12 |
-
CMD ["/bin/sh", "-c", "open-webui serve --port $PORT --host $HOST"]
|
|
|
|
| 1 |
FROM ghcr.io/open-webui/open-webui:main
|
| 2 |
|
|
|
|
| 3 |
EXPOSE 7860
|
| 4 |
|
|
|
|
| 5 |
ENV PORT=7860
|
| 6 |
ENV HOST=0.0.0.0
|
| 7 |
|
| 8 |
+
# Use the actual start script that comes with the image
|
| 9 |
+
CMD ["/bin/bash", "-c", "/app/backend/start.sh"]
|
|
|