add npmpage
This commit is contained in:
parent
90b2c7d5f3
commit
33ebe443bb
18
Dockerfile_npmpage
Normal file
18
Dockerfile_npmpage
Normal 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
1
test/test_npmpage.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
mkdocs -v
|
Loading…
Reference in New Issue
Block a user