FROM ruby:2.5 LABEL "author.name" = "kolosfed" \ "author.email" = "kolosfed@gmail.com" # Install dependencies RUN apt-get update; \ apt-get install -y nodejs # Gems installation RUN mkdir /image-build-tmp; \ cd /image-build-tmp ADD Gemfile* ./ RUN bundle install --jobs=20; \ cd /; \ rm -r /image-build-tmp WORKDIR /app VOLUME ["/app", "/root"] EXPOSE 3000 CMD ["/bin/bash"]