From 6e5fbc49d7fab0dc6d72596386634a478008ee96 Mon Sep 17 00:00:00 2001 From: kadma Date: Sun, 21 Jan 2024 12:28:24 -0500 Subject: [PATCH] Update Dockerfile --- onedrive/cron/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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