Dockerfile 335 Bytes
Newer Older
1
FROM ruby:2.3
Anna Wilson's avatar
Anna Wilson committed
2 3 4
VOLUME ["/build"]
WORKDIR /build
EXPOSE 4000
5 6 7 8
RUN apt-get update && \
    apt-get install -y locales && \
    locale-gen en_US.UTF-8 && \
    localedef -i en_US -f UTF-8 en_US.UTF-8
Anna Wilson's avatar
Anna Wilson committed
9 10 11 12
ENV LC_ALL="C.UTF-8"
ENV LANG="en_US.UTF-8"
ENV LANGUAGE="en_US.UTF-8"
CMD bundle install && bundle exec jekyll serve --watch --host 0.0.0.0