Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -5,12 +5,10 @@ WORKDIR /app
|
|
| 5 |
# Clone OpenWebUI v0.6.36
|
| 6 |
RUN git clone --branch v0.6.36 https://github.com/open-webui/open-webui.git open-webui
|
| 7 |
|
| 8 |
-
# Check if requirements.txt exists
|
| 9 |
-
RUN ls -la open-webui/backend/requirements.txt
|
| 10 |
-
|
| 11 |
# Install backend dependencies
|
| 12 |
RUN pip install -r open-webui/backend/requirements.txt
|
| 13 |
|
| 14 |
EXPOSE 8080
|
| 15 |
|
| 16 |
-
|
|
|
|
|
|
| 5 |
# Clone OpenWebUI v0.6.36
|
| 6 |
RUN git clone --branch v0.6.36 https://github.com/open-webui/open-webui.git open-webui
|
| 7 |
|
|
|
|
|
|
|
|
|
|
| 8 |
# Install backend dependencies
|
| 9 |
RUN pip install -r open-webui/backend/requirements.txt
|
| 10 |
|
| 11 |
EXPOSE 8080
|
| 12 |
|
| 13 |
+
# Run the correct entrypoint for v0.6.36
|
| 14 |
+
CMD ["python", "open-webui/backend/app.py", "--host=0.0.0.0", "--port=8080"]
|