From ff1caa903080506ad91c1f49dbe45902ff091dc3 Mon Sep 17 00:00:00 2001 From: herveleclerc Date: Fri, 6 Sep 2024 14:59:47 +0200 Subject: [PATCH] reveal add --- Dockerfile | 6 +++++- build.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bc03681..36b9b47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,8 @@ FROM nginx:alpine COPY --chown=42:42 styles /usr/share/nginx/html/revealjs/css/theme COPY --chown=42:42 output-html /usr/share/nginx/html -COPY --chown=42:42 images /usr/share/nginx/html/images \ No newline at end of file +COPY --chown=42:42 images /usr/share/nginx/html/images +RUN apk add git && \ + git clone https://github.com/hakimel/reveal.js /usr/share/nginx/html/revealjs && \ + + apk del git \ No newline at end of file diff --git a/build.sh b/build.sh index 21d4ffe..fae88da 100755 --- a/build.sh +++ b/build.sh @@ -178,7 +178,7 @@ done #[ $REVEALJSURL == "" ]] && REVEALJSURL="http://10.2.1.35:9000" #[[ $REVEALJSURL == "" ]] && REVEALJSURL="http://training.alterway.fr/formations/revealjs" -[[ $REVEALJSURL == "" ]] && REVEALJSURL="http://learn.alterway.fr/revealjs" +[[ $REVEALJSURL == "" ]] && REVEALJSURL="https://learn.alterway.fr/revealjs"