Merge pull request #4624 from acemod/improve-dockerfile

improve dockerfile
This commit is contained in:
bux578 2016-11-03 09:56:37 +01:00 committed by GitHub
commit 21baf7fc1f

View File

@ -2,7 +2,10 @@
# docker build -t ace3mod/jekyll .
#
# Run:
# docker run -p 4000:4000 -it ace3mod/jekyll
# docker run -it -p 4000:4000 -v $(pwd):/usr/src/app ace3mod/jekyll
#
# Run with --incremental flag:
# docker run -it -p 4000:4000 -v $(pwd):/usr/src/app ace3mod/jekyll --incremental
FROM starefossen/github-pages:latest
MAINTAINER bux
@ -11,4 +14,4 @@ COPY . /usr/src/app
VOLUME "/usr/src/app"
CMD ["jekyll", "serve", "--future", "--incremental", "--config", "_config_dev.yml", "-H", "0.0.0.0", "-P", "4000"]
ENTRYPOINT ["jekyll", "serve", "--future", "--config", "_config_dev.yml", "-H", "0.0.0.0", "-P", "4000"]