21 lines
553 B
Plaintext
21 lines
553 B
Plaintext
FROM hosttoday/ht-docker-node:stable
|
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
|
|
|
RUN apt-get update && apt-get install -y python-pip
|
|
RUN yarn global add npmpage
|
|
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"] |