From 6eb9525fdef75b5236b9f6cabc8e89644a9698fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20N=C3=B6thlich?= Date: Fri, 23 Sep 2022 18:02:04 +0200 Subject: [PATCH] [nginx] Add static page build to entrypoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrian Nöthlich --- docker-entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 79b8fe3..a7f36ff 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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 "$@"