add npmpage

This commit is contained in:
Philipp Kunz 2017-10-11 17:22:17 +02:00
parent 90b2c7d5f3
commit 33ebe443bb
2 changed files with 19 additions and 0 deletions

18
Dockerfile_npmpage Normal file
View File

@ -0,0 +1,18 @@
FROM hosttoday/ht-docker-node:stable
RUN apt-get update && apt-get install -y python-pip
RUN pip install --upgrade pip \
&& pip install mkdocs \
&& mkdocs --version \
&& pip install mkdocs-material \
&& pip install pygments \
&& pip install pymdown-extensions
# Set working directory
WORKDIR /docs
# Expose MkDocs development server port
EXPOSE 8000
# Start development server by default
ENTRYPOINT ["mkdocs"]
CMD ["serve", "--dev-addr=0.0.0.0:8000"]

1
test/test_npmpage.sh Normal file
View File

@ -0,0 +1 @@
mkdocs -v