Skip to content

Commit

Permalink
CLDR-17803 site: interim docker local build
Browse files Browse the repository at this point in the history
- add a README and a way to preview local sites pages
  • Loading branch information
srl295 committed Jul 16, 2024
1 parent f9d9d43 commit de7bb28
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/scripts/web/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM jekyll/jekyll
RUN gem install bundler github-pages kramdown-parser-gfm webrick
7 changes: 7 additions & 0 deletions tools/scripts/web/docker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Previewing locally

1. install https://docker.io
2. `docker compose up`
3. visit <http://127.0.0.1:4000>


10 changes: 10 additions & 0 deletions tools/scripts/web/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit de7bb28

Please sign in to comment.