File size: 342 Bytes
aa601fe
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM abudulin/qexo:latest

RUN apk add --update --no-cache python3 py3-pip curl lsof

RUN pip3 install --no-cache-dir requests webdavclient3

RUN chmod -R 775 /app

RUN mkdir -p /app/sync

COPY sync_data.sh /app/sync/
RUN chmod +x /app/sync/sync_data.sh

ENTRYPOINT ["/bin/sh", "-c", "/app/sync/sync_data.sh & sleep 10 && /app/entrypoint.sh"]