[nginx] Add static page build to entrypoint

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
Adrian Nöthlich 2022-09-23 18:02:04 +02:00
parent fdd0f5c47c
commit 6eb9525fde
No known key found for this signature in database
GPG key ID: 01348F55AA57C1E7

View file

@ -160,4 +160,7 @@ if [ ! -f "${CPAD_NGINX_CPAD_CONF:=/etc/nginx/conf.d/cryptpad.conf}" ]; then
fi
cd $CPAD_HOME
npm run build
exec "$@"