hiwaknvz commited on
Commit
b304455
·
verified ·
1 Parent(s): 0065028

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ghcr.io/open-webui/open-webui:main
2
+
3
+ RUN apt-get update && apt-get install -y python3 python3-pip curl
4
+ RUN pip3 install --no-cache-dir webdavclient3 requests
5
+
6
+ COPY sync_data.sh sync_data.sh
7
+
8
+ RUN chmod -R 775 ./data && \
9
+ chmod -R 775 /app/backend/open_webui/static && \
10
+ chmod +x sync_data.sh && \
11
+ sed -i "1r sync_data.sh" ./start.sh