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:
parent
7635ceef81
commit
d94b79d59d
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user