
--frozen prevents Gemfile.lock from being updated, which was causing write errors for me. Also renames the image to lsm-hpce/docs
15 lines
226 B
Docker
15 lines
226 B
Docker
FROM jekyll/builder
|
|
|
|
WORKDIR /tmp
|
|
ADD Gemfile /tmp/
|
|
ADD Gemfile.lock /tmp/
|
|
RUN bundle install --frozen
|
|
|
|
FROM jekyll/jekyll
|
|
|
|
VOLUME /src
|
|
EXPOSE 4001
|
|
|
|
WORKDIR /src
|
|
ENTRYPOINT ["jekyll", "serve", "--livereload", "-H", "0.0.0.0"]
|