blob: d04d73b3b1785b3f458a780d6077f8b3eddb2a57 [file] [log] [blame]
FROM ruby:2.4-alpine
RUN apk add --no-cache build-base gcc bash cmake
RUN gem install jekyll
EXPOSE 4000
WORKDIR /site
# create new site by setting -e JEKYLL_NEW=true
ENV JEKYLL_NEW false
COPY docker-entrypoint.sh /usr/local/bin/
# on every container start we'l'
ENTRYPOINT [ "docker-entrypoint.sh" ]
CMD [ "bundle", "exec", "jekyll", "serve", "--force_polling", "-H", "0.0.0.0", "-P", "4000" ]