Container now have all proper dependencies (#322)

Container was not working because didn't have all dependencies, and change CMD command for ENTRYPOINT.
This commit is contained in:
Josemy Duarte 2018-02-26 02:25:21 +01:00 committed by Dean Attali
parent 7635ceef81
commit d94b79d59d

View File

@ -2,12 +2,11 @@ FROM jekyll/jekyll
WORKDIR /srv/jekyll WORKDIR /srv/jekyll
COPY Gemfile . COPY Gemfile .
COPY Gemfile.lock .
RUN gem install bundler RUN gem install bundler
RUN bundle install --clean --quiet RUN bundle install --quiet --clean
EXPOSE 4000 EXPOSE 4000
CMD [ "/usr/gem/bin/bundle", "exec", "/usr/local/bundle/bin/jekyll", "serve", "--port", "4000", "--host", "0.0.0.0" ] ENTRYPOINT ["jekyll", "serve"]
STOPSIGNAL 2