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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -2,8 +2,12 @@ FROM python:3.11
2
 
3
  WORKDIR /app
4
 
5
- RUN pip install openwebui==0.6.36
 
 
 
 
6
 
7
  EXPOSE 8080
8
 
9
- CMD ["python", "-m", "openwebui"]
 
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"]