Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -11,7 +11,10 @@ RUN git clone --branch v0.6.36 https://github.com/open-webui/open-webui.git open
|
|
| 11 |
# Install backend dependencies
|
| 12 |
RUN pip install -r open-webui/backend/requirements.txt
|
| 13 |
|
| 14 |
-
#
|
|
|
|
|
|
|
|
|
|
| 15 |
RUN cd open-webui && npm install --legacy-peer-deps && npm run build
|
| 16 |
|
| 17 |
# Add backend directory to Python path
|
|
|
|
| 11 |
# Install backend dependencies
|
| 12 |
RUN pip install -r open-webui/backend/requirements.txt
|
| 13 |
|
| 14 |
+
# Install missing frontend dependencies
|
| 15 |
+
RUN cd open-webui && npm install y-protocols y-prosemirror --legacy-peer-deps
|
| 16 |
+
|
| 17 |
+
# Build frontend
|
| 18 |
RUN cd open-webui && npm install --legacy-peer-deps && npm run build
|
| 19 |
|
| 20 |
# Add backend directory to Python path
|