Update Dockerfile

This commit is contained in:
kadma
2024-01-21 12:28:24 -05:00
committed by GitHub
parent 4b8a06abbc
commit 6e5fbc49d7

View File

@@ -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