github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/docs/Dockerfile (about) 1 FROM ruby:2.6.2-stretch 2 MAINTAINER Gruntwork <info@gruntwork.io> 3 4 # This project requires bundler 2, but the docker image comes with bundler 1 so we need to upgrade 5 RUN gem install bundler 6 7 # Copy the Gemfile and Gemfile.lock into the image and run bundle install in a way that will be cached 8 WORKDIR /tmp 9 ADD Gemfile Gemfile 10 ADD Gemfile.lock Gemfile.lock 11 RUN bundle install 12 13 RUN mkdir -p /src 14 VOLUME ["/src"] 15 WORKDIR /src 16 COPY . /src 17 18 # Jekyll runs on port 4000 by default 19 EXPOSE 4000 20 21 # Run jekyll serve - jekyll will build first to create a plain html file for TOS update 22 CMD ["./jekyll-serve.sh"]