ht-docker-node/Dockerfile_npmpage

21 lines
553 B
Plaintext
Raw Normal View History

2017-10-11 15:22:17 +00:00
FROM hosttoday/ht-docker-node:stable
2017-10-13 14:43:58 +00:00
LABEL author="Lossless GmbH <office@lossless.com>"
2017-10-11 15:22:17 +00:00
RUN apt-get update && apt-get install -y python-pip
2017-10-11 15:35:28 +00:00
RUN yarn global add npmpage
2017-10-11 15:22:55 +00:00
RUN pip install --upgrade pip \
2017-10-11 15:22:17 +00:00
&& 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"]