mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #4624 from acemod/improve-dockerfile
improve dockerfile
This commit is contained in:
commit
21baf7fc1f
@ -2,7 +2,10 @@
|
|||||||
# docker build -t ace3mod/jekyll .
|
# docker build -t ace3mod/jekyll .
|
||||||
#
|
#
|
||||||
# Run:
|
# 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
|
FROM starefossen/github-pages:latest
|
||||||
MAINTAINER bux
|
MAINTAINER bux
|
||||||
@ -11,4 +14,4 @@ COPY . /usr/src/app
|
|||||||
|
|
||||||
VOLUME "/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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user