diff --git a/tools/scripts/web/docker/Dockerfile b/tools/scripts/web/docker/Dockerfile new file mode 100644 index 00000000000..a409613ea2d --- /dev/null +++ b/tools/scripts/web/docker/Dockerfile @@ -0,0 +1,2 @@ +FROM jekyll/jekyll +RUN gem install bundler github-pages kramdown-parser-gfm webrick diff --git a/tools/scripts/web/docker/README.md b/tools/scripts/web/docker/README.md new file mode 100644 index 00000000000..029313be7d5 --- /dev/null +++ b/tools/scripts/web/docker/README.md @@ -0,0 +1,7 @@ +# Previewing locally + +1. install https://docker.io +2. `docker compose up` +3. visit + + diff --git a/tools/scripts/web/docker/docker-compose.yml b/tools/scripts/web/docker/docker-compose.yml new file mode 100644 index 00000000000..448241eba6f --- /dev/null +++ b/tools/scripts/web/docker/docker-compose.yml @@ -0,0 +1,10 @@ +services: + site: + build: . + command: jekyll serve -s /src -d /tmp -p 4000 --watch + ports: + - 4000:4000 + volumes: + - ../../../../docs:/src + environment: + - PAGES_REPO_NWO=unicode-org/cldr