-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84a0d5c
commit b2db0d7
Showing
3 changed files
with
32 additions
and
8 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,16 @@ | ||
FROM python:3.9-slim-buster | ||
|
||
# Set working directory | ||
WORKDIR /usr/src/app | ||
|
||
# Copy files | ||
COPY ./docs ./docs | ||
COPY mkdocs.yml . | ||
|
||
RUN python -m pip install --upgrade pip | ||
RUN pip install mkdocs | ||
|
||
# Expose the listening port | ||
EXPOSE 8000 | ||
|
||
CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8000"] |
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