mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-15 02:35:04 +00:00
[nginx] Add static page build to entrypoint
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
parent
fdd0f5c47c
commit
6eb9525fde
1 changed files with 3 additions and 0 deletions
|
@ -160,4 +160,7 @@ if [ ! -f "${CPAD_NGINX_CPAD_CONF:=/etc/nginx/conf.d/cryptpad.conf}" ]; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cd $CPAD_HOME
|
||||||
|
npm run build
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
Loading…
Reference in a new issue