Dockerfile https://github.com/vgist/dockerfiles/tree/master/jekyll
Automatically built by Github Actions
Environment | Default value |
---|---|
UID | 1000 |
GID | 1000 |
- /var/www
docker run \
-d \
--name jekyll \
-p 4000:4000 \
-e UID=1000
-e GID=1000
-v /var/www:/var/www \
gists/jekyll
Just build
docker run \
--rm \
-it \
-v /var/www:/var/www \
gists/jekyll jekyll build # override CMD
jekyll:
image: gists/jekyll
ports:
- "4000:4000"
volumes:
- /var/www:/var/www
restart: always