-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (23 loc) · 788 Bytes
/
Dockerfile
File metadata and controls
28 lines (23 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ARG BASEIMAGE=python:alpine
FROM ${BASEIMAGE}
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
LABEL mantainer="Eloy Lopez <elswork@gmail.com>" \
org.opencontainers.image.title=mkdocs-diy \
org.opencontainers.image.description="My Multiarch Mkdocs Docker recipe" \
org.opencontainers.image.vendor=Deft.Work \
org.opencontainers.image.url=https://deft.work/mkdocs \
org.opencontainers.image.source=https://github.com/deftwork/mkdocs-diy \
org.opencontainers.image.version=$VERSION \
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.revision=$VCS_REF \
org.opencontainers.image.licenses=MIT
RUN pip install mkdocs \
pygments \
pymdown-extensions \
markdown \
mkdocs-material
WORKDIR /mkdocs
EXPOSE 7777
CMD mkdocs serve