FROM ruby:2.7.3-alpine

EXPOSE 4000

RUN apk --no-cache add \
  bash \
  curl \
  g++ \
  git \
  make

RUN gem install bundler -v 2.1.4
RUN gem install jekyll -v 4.0.0

COPY . ${WORKDIR}

RUN bundle install