Permalink
Browse files

Merge pull request #457 from jrusbatch/docker

Add support for launching the site using Docker
  • Loading branch information...
2 parents 81368dc + b01fa35 commit 94360438497d150b259452f9fbff7b6b185d2205 @shiftkey shiftkey committed on GitHub Sep 26, 2016
Showing with 15 additions and 0 deletions.
  1. +3 −0 Dockerfile
  2. +6 −0 README.md
  3. +6 −0 docker-compose.yml
View
@@ -0,0 +1,3 @@
+FROM starefossen/github-pages:onbuild
+
+RUN bundle install
View
@@ -63,4 +63,10 @@ bundle install
jekyll serve --watch
```
+Alternatively, the application can be run in a [Docker](https://docker.com) container:
+
+```
+docker-compose up
+```
+
Then open your browser to `localhost:4000` to view the site.
View
@@ -0,0 +1,6 @@
+app:
+ build: .
+ ports:
+ - '4000:4000'
+ volumes:
+ - .:/usr/src/app

0 comments on commit 9436043

Please sign in to comment.