From 14b61ee2a16518561527ecaaa00231a5f2902772 Mon Sep 17 00:00:00 2001 From: kadma Date: Sun, 17 Dec 2023 17:12:22 -0500 Subject: [PATCH] Create Dockerfile --- Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1fe118c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM ubuntu + +RUN apt update && apt upgrade -y && apt autoremove -y && apt install python3 python3-pip -y && apt install git nano wget -y + +ENV URL_DESCARGA_RCLONE="https://downloads.rclone.org/v1.65.0/rclone-v1.65.0-linux-amd64.deb" + +EXPOSE 5572 + +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