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

Update Dockerfile

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