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

Commit f344230

Browse files
author
Matthew Fisher
committed
feat(Dockerfile): make the Dockerfile more functional
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.
1 parent aa5b08c commit f344230

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.git
2+
Dockerfile

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ WORKDIR /app
66
RUN pip install -r requirements.txt
77

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

0 commit comments

Comments
 (0)