Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
feat(Dockerfile): make the Dockerfile more functional
Browse files Browse the repository at this point in the history
Now anyone that builds the documentation can run:

```
docker build -t deisdocs:canary .
docker run -dp 8000:8000 deisdocs:canary
```

And open 127.0.0.1:8000 in their browser to view the docs.
  • Loading branch information
Matthew Fisher committed Dec 13, 2016
1 parent aa5b08c commit f344230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.git
Dockerfile
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ WORKDIR /app
RUN pip install -r requirements.txt

EXPOSE 8000
CMD ["mkdocs", "serve", "-a", "0.0.0.0:8000"]

0 comments on commit f344230

Please sign in to comment.