diff --git a/onedrive/cron/Dockerfile b/onedrive/cron/Dockerfile index 1413cdc..4c1de62 100644 --- a/onedrive/cron/Dockerfile +++ b/onedrive/cron/Dockerfile @@ -6,12 +6,14 @@ RUN apt update && apt upgrade -y && apt autoremove -y && apt install python3 pyt COPY . . -ENV PING_IP="1270.0.0.1" +ENV IP_PING="1270.0.0.1" ENV TOKEN="token" ENV PASSWORD_WEB="pass" +ENV SUPERCOMANDO='curl -X POST -H "Content-Type: application/json" -d "{"password":PASSWORD_WEB ,"refresh_token":TOKEN}" "http://IP_PING/call"' + RUN chmod +x run.sh ENTRYPOINT ./run.sh