summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rw-r--r--snapcraft.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 5f89a998..3a81a472 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -302,7 +302,7 @@ RUN \
gosu wekan:wekan /home/wekan/.meteor/meteor -- help; \
\
# extract the OpenAPI specification
- npm install -g api2html && \
+ npm install -g api2html@0.3.0 && \
mkdir -p /home/wekan/python && \
chown wekan:wekan --recursive /home/wekan/python && \
cd /home/wekan/python && \
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 2b4ab48b..e4b765a5 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -113,7 +113,7 @@ parts:
mkdir -p ./public/api
python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml
# we temporary need api2html and mkdirp
- npm install -g api2html
+ npm install -g api2html@0.3.0
npm install -g mkdirp
api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml
npm uninstall -g mkdirp