# Docker setup for gitlab

**URL:** <https://talk.jekyllrb.com/t/docker-setup-for-gitlab/3182>\
**Category:** Help\
**Created:** [August 10, 2019, 10:24am UTC](https://talk.jekyllrb.com/t/docker-setup-for-gitlab/3182 "2019-08-10T10:24:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![justinechacko](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/justinechacko/32/675_2.png) [@justinechacko](https://talk.jekyllrb.com/u/justinechacko)\
**Post date:** [August 10, 2019, 10:24am UTC](https://talk.jekyllrb.com/t/docker-setup-for-gitlab/3182/1 "2019-08-10T10:24:03Z")

</div>

I try to setup jekyll website on gitlab. How to add a dockerfile to jekyll website to fast the build process. Can i cache the docker. I found a code

```auto
export JEKYLL_VERSION=3.8
docker run --rm \
  --volume="$PWD:/srv/jekyll" \
  -it jekyll/jekyll:$JEKYLL_VERSION \
  jekyll build

```

Where to add this code?
