Skip to content

Commit

Permalink
Merge pull request #267 from Hacking-the-Cloud/update_dev_dockerfile
Browse files Browse the repository at this point in the history
Updated dev Dockerfile
  • Loading branch information
Frichetten authored May 26, 2023
2 parents 0c44de1 + 9b1db0f commit a58da3d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ WORKDIR /docs

RUN apt update -y
RUN apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev python3-pip python3 git
RUN pip install tzdata
RUN pip install pillow cairosvg
RUN pip install mkdocs-minify-plugin
RUN pip install mkdocs-awesome-pages-plugin
Expand All @@ -18,4 +19,12 @@ RUN pip install mkdocs-git-revision-date-localized-plugin
RUN pip install mkdocs-git-committers-plugin-2
RUN pip install mkdocs-rss-plugin
RUN pip install --use-pep517 mkdocs-glightbox
RUN pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
RUN pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git

RUN git config --global --add safe.directory /docs &&\
git config --global --add safe.directory /site

EXPOSE 8000

ENTRYPOINT ["mkdocs"]
CMD ["serve", "--dev-addr=0.0.0.0:8000"]

0 comments on commit a58da3d

Please sign in to comment.