This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md install instructions, add Docker support.
- Loading branch information
Showing
3 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM ruby:2.3 | ||
|
||
# jekyll_pages_api_search needs Node, so we gotta install it. | ||
|
||
# https://nodejs.org/en/download/package-manager/ | ||
|
||
RUN apt-get update && \ | ||
curl -sL https://deb.nodesource.com/setup_6.x | bash - && \ | ||
apt-get install -y nodejs zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: '2' | ||
services: | ||
app: | ||
build: . | ||
working_dir: /content-guide | ||
command: bash -c 'bundle install && jekyll serve --force_polling -H 0.0.0.0 -P 4000' | ||
stop_signal: SIGKILL | ||
ports: | ||
- 4000:4000 | ||
volumes: | ||
- .:/content-guide | ||
- root:/root/ | ||
- bundle:/usr/local/bundle/ | ||
volumes: | ||
root: | ||
bundle: |