abubasith86 commited on
Commit
d500898
·
verified ·
1 Parent(s): ac1e082

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -2,12 +2,12 @@ FROM python:3.11
2
 
3
  WORKDIR /app
4
 
5
- # Clone OpenWebUI v0.6.36 from GitHub
6
  RUN git clone --branch v0.6.36 https://github.com/open-webui/open-webui.git .
7
 
8
- # Install dependencies
9
- RUN pip install -r requirements.txt
10
 
11
  EXPOSE 8080
12
 
13
- CMD ["python", "main.py", "--host=0.0.0.0", "--port=8080"]
 
2
 
3
  WORKDIR /app
4
 
5
+ # Clone OpenWebUI v0.6.36
6
  RUN git clone --branch v0.6.36 https://github.com/open-webui/open-webui.git .
7
 
8
+ # Install backend dependencies
9
+ RUN pip install -r open-webui/backend/requirements.txt
10
 
11
  EXPOSE 8080
12
 
13
+ CMD ["python", "open-webui/backend/main.py", "--host=0.0.0.0", "--port=8080"]