Added SpeedTest Cli

This commit is contained in:
Luiz F Picolo 2023-09-11 22:31:05 -04:00
parent 5c26cf91bc
commit 79777e63fc
1 changed files with 5 additions and 1 deletions

View File

@ -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 && \ 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++ 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 RACK_ENV production
ENV TZ=America/Campo_Grande ENV TZ=America/Campo_Grande
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
@ -17,4 +21,4 @@ COPY . /code
RUN bundle install RUN bundle install
EXPOSE 4567 EXPOSE 4567