diff options
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ FROM python:3-alpine as docs | |||
5 | ADD . /usr/src/app/shaarli | 5 | ADD . /usr/src/app/shaarli |
6 | RUN cd /usr/src/app/shaarli \ | 6 | RUN cd /usr/src/app/shaarli \ |
7 | && pip install --no-cache-dir mkdocs \ | 7 | && pip install --no-cache-dir mkdocs \ |
8 | && mkdocs build | 8 | && mkdocs build --clean |
9 | 9 | ||
10 | # Stage 2: | 10 | # Stage 2: |
11 | # - Resolve PHP dependencies with Composer | 11 | # - Resolve PHP dependencies with Composer |
@@ -207,7 +207,7 @@ htmldoc: | |||
207 | python3 -m venv venv/ | 207 | python3 -m venv venv/ |
208 | bash -c 'source venv/bin/activate; \ | 208 | bash -c 'source venv/bin/activate; \ |
209 | pip install mkdocs; \ | 209 | pip install mkdocs; \ |
210 | mkdocs build' | 210 | mkdocs build --clean' |
211 | find doc/html/ -type f -exec chmod a-x '{}' \; | 211 | find doc/html/ -type f -exec chmod a-x '{}' \; |
212 | rm -r venv | 212 | rm -r venv |
213 | 213 | ||