1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Added supported plugins to Docker image (#1458)

This commit is contained in:
Peter Bajurny 2020-02-14 01:22:59 -06:00 committed by GitHub
parent e3e92690cb
commit d5adbe67af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

5
.dockerignore Normal file
View File

@ -0,0 +1,5 @@
.git
.github
docs
node_modules
src

View File

@ -18,7 +18,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
FROM python:3.6.8-alpine3.9
FROM python:3.8.1-alpine3.11
# Set build directory
WORKDIR /tmp
@ -38,7 +38,10 @@ RUN \
git-fast-import \
openssh \
&& python setup.py install \
&& rm -rf /tmp/*
&& rm -rf /tmp/* \
&& pip install --no-cache-dir \
'mkdocs-minify-plugin>=0.2' \
'mkdocs-git-revision-date-localized-plugin'
# Set working directory
WORKDIR /docs

View File

@ -20,7 +20,6 @@
# Direct dependencies
mkdocs>=1.0
mkdocs-minify-plugin>=0.2
Pygments>=2.4
markdown>=3.2
pymdown-extensions>=6.3