Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -11,8 +11,8 @@ 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 |
-
# Build frontend
|
| 15 |
-
RUN cd open-webui && npm install && npm run build
|
| 16 |
|
| 17 |
# Add backend directory to Python path
|
| 18 |
ENV PYTHONPATH=/app/open-webui/backend
|
|
|
|
| 11 |
# Install backend dependencies
|
| 12 |
RUN pip install -r open-webui/backend/requirements.txt
|
| 13 |
|
| 14 |
+
# Build frontend with legacy peer deps
|
| 15 |
+
RUN cd open-webui && npm install --legacy-peer-deps && npm run build
|
| 16 |
|
| 17 |
# Add backend directory to Python path
|
| 18 |
ENV PYTHONPATH=/app/open-webui/backend
|