Dockerfile 257 Bytes
FROM ruby:2.3

ENV LC_ALL C.UTF-8

RUN mkdir -p /usr/src/app/vendor
WORKDIR /usr/src/app

COPY Gemfile Gemfile.lock /usr/src/app/
COPY vendor/cache vendor/cache
RUN bundle install --local -j $(nproc)

COPY . /usr/src/app

CMD [ "bundle", "exec", "jekyll" ]