Merge pull request #1694 from spotify/mob/techdocs-use-techdocs-pip-in-dockerfile

Update dockerfile to use published package of techdocs-core
This commit is contained in:
Emma Indal
2020-07-21 10:17:47 +02:00
committed by GitHub
+1 -5
View File
@@ -15,10 +15,6 @@
FROM python:3.7.7-alpine3.12
RUN apk update && apk --no-cache add gcc musl-dev
RUN pip install --upgrade pip && pip install mkdocs==1.1.2 mkdocs-material==5.3.2 mkdocs-monorepo-plugin==0.4.5 pymdown-extensions==7.1
ADD ./techdocs-core /techdocs-core
RUN pip install --no-index /techdocs-core
RUN pip install --upgrade pip && pip install mkdocs-techdocs-core==0.0.2 mkdocs==1.1.2 mkdocs-material==5.3.2 mkdocs-monorepo-plugin==0.4.5 pymdown-extensions==7.1
ENTRYPOINT [ "mkdocs" ]