From a16111830833f948984840b2ad04a4bd331abb72 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 1 Mar 2025 21:03:48 +0200 Subject: [PATCH] Execute postinstall in docker entrypoint --- docker/docker-entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 0d6125ad4..082ffc9aa 100644 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -5,5 +5,8 @@ if [ ! -e "config/config.yaml" ]; then cp -r "default/config.yaml" "config/config.yaml" fi +# Execute postinstall to auto-populate config.yaml with missing values +npm run postinstall + # Start the server exec node server.js --listen "$@"