abubasith86 commited on
Commit
369065c
·
verified ·
1 Parent(s): 465ce81

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- CMD ["python", "open-webui/backend/main.py", "--host=0.0.0.0", "--port=8080"]
 
 
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"]