add instructions to running docker to README

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
This commit is contained in:
Matthew Peveler
2020-04-02 09:29:14 -04:00
parent d11eb1f13c
commit 7cecafe5ff
2 changed files with 6 additions and 0 deletions

2
.dockerignore Normal file
View File

@@ -0,0 +1,2 @@
build/
.github/

View File

@@ -56,6 +56,10 @@ bundle exec middleman server
# OR run this to run with vagrant
vagrant up
# OR run this to run with docker
docker build . -t slate:latest # this only needs to be run once
docker run -p 4567:4567 -v $(pwd)/source:/srv/slate/source slate:latest
```
You can now see the docs at http://localhost:4567. Whoa! That was fast!