data-transfer-test/Dockerfile

25 lines
751 B
Docker
Raw Permalink Normal View History

2023-09-09 23:24:28 +00:00
FROM ruby:3.2
2021-10-05 02:34:09 +00:00
2021-11-03 15:32:06 +00:00
RUN apt-get update && apt-get install -y \
2021-10-08 00:34:55 +00:00
curl \
build-essential \
curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
2021-11-03 15:32:06 +00:00
apt-get update && apt-get install -y nodejs yarn sqlite3 cron g++
2021-10-08 00:34:55 +00:00
2023-09-12 02:31:05 +00:00
# Instalação do speedtest-cli
RUN curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash \
&& apt-get install speedtest
2021-10-08 00:39:35 +00:00
ENV RACK_ENV production
2021-10-08 02:55:34 +00:00
ENV TZ=America/Campo_Grande
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
2021-10-05 14:22:47 +00:00
2021-10-05 02:34:09 +00:00
WORKDIR /code
2022-06-16 03:30:00 +00:00
COPY . /code
2021-10-05 14:22:47 +00:00
2021-10-05 02:34:09 +00:00
RUN bundle install
2023-09-12 02:31:05 +00:00
EXPOSE 4567