hiwaknvz commited on
Commit
6f3f311
·
verified ·
1 Parent(s): 532f684

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"]