summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-05-14 10:30:13 +0200
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-05-14 10:33:41 +0200
commit76cd5a28441c83f1174639f4c0ae52ae7a8c01af (patch)
tree95f81644ec04b8d81bdcf181256d9ac3947c4a80 /Dockerfile
parentffd1b93abf8e8898399f91ff9c7f032078d34013 (diff)
downloadwekan-76cd5a28441c83f1174639f4c0ae52ae7a8c01af.tar.gz
wekan-76cd5a28441c83f1174639f4c0ae52ae7a8c01af.tar.bz2
wekan-76cd5a28441c83f1174639f4c0ae52ae7a8c01af.zip
Dockerfile: use gosu for creating the openapi files
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 87ee92f7..395aae48 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -220,9 +220,9 @@ RUN \
cd /home/wekan/python/esprima-python && \
python3 setup.py install --record files.txt && \
cd /home/wekan/app &&\
- mkdir -p ./public/api && \
- python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml && \
- /opt/nodejs/bin/api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml; \
+ gosu wekan:wekan mkdir -p ./public/api && \
+ gosu wekan:wekan python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml && \
+ gosu wekan:wekan /opt/nodejs/bin/api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml; \
# Build app
cd /home/wekan/app && \
gosu wekan:wekan /home/wekan/.meteor/meteor add standard-minifier-js && \