From dff64b626c48d04a3aea85e3a1bf7d5244757f5f Mon Sep 17 00:00:00 2001 From: kadma Date: Sun, 21 Jan 2024 13:16:32 -0500 Subject: [PATCH] Update Dockerfile --- onedrive/cron/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onedrive/cron/Dockerfile b/onedrive/cron/Dockerfile index c33d738..f8bb298 100644 --- a/onedrive/cron/Dockerfile +++ b/onedrive/cron/Dockerfile @@ -8,13 +8,13 @@ RUN pip install schedule COPY . . -ENV IP_PING="127.0.0.1:8080" +ENV IP_PING="http://127.0.0.1:8080/call" 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"' +ENV SUPERCOMANDO='curl -X POST -H "Content-Type: application/json" -d ''{"password":$PASSWORD_WEB ,"refresh_token":$TOKEN}'' "$IP_PING"' RUN chmod +x run.sh