From 50c379d103b000625d29b55b3c40afb9aa528ce7 Mon Sep 17 00:00:00 2001 From: kadma Date: Sun, 21 Jan 2024 11:42:16 -0500 Subject: [PATCH] Update Dockerfile engine by TheCaduceus --- onedrive/engine/Dockerfile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/onedrive/engine/Dockerfile b/onedrive/engine/Dockerfile index e6efc1d..30cceb7 100644 --- a/onedrive/engine/Dockerfile +++ b/onedrive/engine/Dockerfile @@ -1,7 +1,11 @@ FROM ubuntu +WORKDIR /app + RUN apt update && apt upgrade -y && apt autoremove -y && apt install python3 python3-pip -y && apt install git nano wget -y +RUN git clone https://github.com/TheCaduceus/Microsoft-E5-Auto-Renewal /app + ENV E5_CLIENT_ID="id" ENV E5_CLIENT_SECRET="secret" @@ -10,16 +14,6 @@ ENV E5_REFRESH_TOKEN="token" EXPOSE 8080 -WORKDIR /app - -RUN wget $URL_DESCARGA_RCLONE - -RUN dpkg -i rclone-v1.65.0-linux-amd64.deb - -ENV USER_RCLONE=adm PASSWORD_RCLONE=pass - -RUN wget https://raw.githubusercontent.com/kadma/pruebasdocker/main/test.sh - RUN chmod +x test.sh ENTRYPOINT ./test.sh