Spaces:
Running
Running
Create Dockerfile
Browse files- 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"]
|