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"]