Try to fix Dockerfile.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2019-07-10 18:28:31 -04:00
parent 7f16c55ff4
commit b7dfd17cbb

View file

@ -226,7 +226,8 @@ RUN \
cd /home/wekan/python/esprima-python && \ cd /home/wekan/python/esprima-python && \
python3 setup.py install --record files.txt && \ python3 setup.py install --record files.txt && \
cd /home/wekan/app && \ cd /home/wekan/app && \
gosu wekan:wekan mkdir -p ./public/api && \ mkdir -p /home/wekan/app/public/api && \
chown wekan --recursive /home/wekan/app && \
gosu wekan:wekan python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml && \ 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; \ gosu wekan:wekan /opt/nodejs/bin/api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml; \
# Build app # Build app