# borrowed from https://github.com/BretFisher/jekyll-serve FROM ruby:2.7-alpine RUN apk add --no-cache build-base gcc bash cmake git RUN apk add --no-cache imagemagick # install both bundler 1.x and 2.x RUN gem install bundler -v "~>1.0" && gem install bundler jekyll EXPOSE 4000 WORKDIR /site ENTRYPOINT [ "jekyll" ] CMD [ "--help" ]