Update Dockerfile

This commit is contained in:
kadma
2024-01-21 13:16:32 -05:00
committed by GitHub
parent d970bc9320
commit dff64b626c

View File

@@ -8,13 +8,13 @@ RUN pip install schedule
COPY . . COPY . .
ENV IP_PING="127.0.0.1:8080" ENV IP_PING="http://127.0.0.1:8080/call"
ENV TOKEN="token" ENV TOKEN="token"
ENV PASSWORD_WEB="pass" 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 RUN chmod +x run.sh