Skip to content

Commit e8e1e90

Browse files
Merge branch 'additional-docs'
2 parents 697991d + b6d57e6 commit e8e1e90

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

docs/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM ruby:latest
2+
3+
RUN gem install bundler
4+
5+
WORKDIR /usr/src/app
6+
7+
COPY . .
8+
9+
RUN bundle install
10+
11+
EXPOSE 4000
12+
13+
ENTRYPOINT [ "bundle", "exec", "jekyll" ]
14+
CMD [ "serve", "--host=0.0.0.0" ]

docs/_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,5 @@ plugins:
7272
- jekyll-seo-tag
7373
- jekyll-github-metadata
7474
- jekyll-include-cache
75+
76+
exclude: [.gitignore, docker-compose.yml, Dockerfile, Gemfile, Gemfile.lock]

docs/docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: docs-website
2+
services:
3+
jekyll:
4+
build:
5+
context: ./
6+
volumes:
7+
- ./:/usr/src/app
8+
ports:
9+
- 4000:4000

0 commit comments

Comments
 (0)