1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
FROM ruby:3.0 RUN apt update RUN apt install -y make gcc g++ ruby-dev ruby-bundler git thin COPY . /var/www/security WORKDIR /var/www/security/data RUN git clone https://anongit.gentoo.org/git/data/glsa.git EXPOSE 9995 WORKDIR /var/www/security RUN bundle install --deployment CMD bundle exec thin -p 9995 start