FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ && apt-get install -y --no-install-recommends \ ca-certificates \ wget \ git \ nano \ python3 \ python3-pip \ && rm -rf /var/lib/apt/lists/* ENV URL_DESCARGA_RCLONE="https://downloads.rclone.org/v1.72.1/rclone-v1.72.1-linux-amd64.deb" EXPOSE 5572 WORKDIR /app RUN wget "$URL_DESCARGA_RCLONE" \ && dpkg -i rclone-v1.72.1-linux-amd64.deb \ && rm -f rclone-v1.72.1-linux-amd64.deb # Copiamos el script local en lugar de descargarlo COPY test.sh /app/test.sh RUN chmod +x /app/test.sh ENTRYPOINT ["/app/test.sh"]