This commit is contained in:
rzen 2019-10-21 07:14:16 -04:00
commit 6238207ff9

17
Dockerfile Normal file
View File

@ -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"]