From 79777e63fcd4565227de5bc189f49e602931be40 Mon Sep 17 00:00:00 2001 From: "Luiz F. Picolo" Date: Mon, 11 Sep 2023 22:31:05 -0400 Subject: [PATCH] Added SpeedTest Cli --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 88a44ff..6ec5b83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,10 @@ RUN apt-get update && apt-get install -y \ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ apt-get update && apt-get install -y nodejs yarn sqlite3 cron g++ +# Instalação do speedtest-cli +RUN curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash \ + && apt-get install speedtest + ENV RACK_ENV production ENV TZ=America/Campo_Grande RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone @@ -17,4 +21,4 @@ COPY . /code RUN bundle install -EXPOSE 4567 \ No newline at end of file +EXPOSE 4567