abubasith86 commited on
Commit
3438299
·
verified ·
1 Parent(s): bdf87e8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # 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
 
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