wynai commited on
Commit
97cc705
·
verified ·
1 Parent(s): 4edbd61

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ghcr.io/open-webui/open-webui:main
2
+
3
+ RUN chmod -R 777 /app
4
+
5
+
6
+ COPY requirements.txt /app/requirements.txt
7
+ COPY sync_webuidb.sh /app/sync_webuidb.sh
8
+
9
+ RUN chmod +x /app/sync_webuidb.sh && pip install -r /app/requirements.txt
10
+
11
+ ENV HOST=0.0.0.0
12
+ ENV PORT=7860
13
+
14
+ EXPOSE 7860
15
+
16
+ CMD bash -c "bash start.sh"