From 6238207ff9384adea16906e2c788a7e15813a1e1 Mon Sep 17 00:00:00 2001 From: rzen Date: Mon, 21 Oct 2019 07:14:16 -0400 Subject: [PATCH] init --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c2658e4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM ruby:alpine + +ENV BUILD_PACKAGES build-base nodejs +ENV RUBY_PACKAGES py-pygments +RUN apk update && \ + apk upgrade && \ + apk add $BUILD_PACKAGES && \ + apk add $RUBY_PACKAGES && \ + rm -rf /var/cache/apk/* + +RUN gem install jekyll rdiscount kramdown jekyll-redirect-from rouge + +VOLUME /srv/jekyll +EXPOSE 4000 + +WORKDIR /srv/jekyll +ENTRYPOINT ["jekyll"] \ No newline at end of file