hiwaknvz commited on
Commit
b3b2081
·
verified ·
1 Parent(s): e547bea

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -11
Dockerfile CHANGED
@@ -1,14 +1,11 @@
1
- FROM abudulin/qexo:latest
2
 
3
- RUN apk add --update --no-cache python3 py3-pip curl lsof
 
4
 
5
- RUN pip3 install --no-cache-dir requests webdavclient3
6
 
7
- RUN chmod -R 775 /app
8
-
9
- RUN mkdir -p /app/sync
10
-
11
- COPY sync_data.sh /app/sync/
12
- RUN chmod +x /app/sync/sync_data.sh
13
-
14
- ENTRYPOINT ["/bin/sh", "-c", "/app/sync/sync_data.sh & sleep 10 && /app/entrypoint.sh"]
 
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