refactor docker image building
This commit is contained in:
8
build/Dockerfile-serve
Normal file
8
build/Dockerfile-serve
Normal file
@ -0,0 +1,8 @@
|
||||
FROM docker.rzen.dev/jekyll:latest
|
||||
|
||||
COPY docker-entrypoint.sh /usr/local/bin/
|
||||
|
||||
# on every container start, check if Gemfile exists and warn if it's missing
|
||||
ENTRYPOINT [ "docker-entrypoint.sh" ]
|
||||
|
||||
CMD [ "bundle", "exec", "jekyll", "serve", "--force_polling", "-H", "0.0.0.0", "-P", "4000" ]
|
Reference in New Issue
Block a user