Execute postinstall in docker entrypoint

This commit is contained in:
Cohee
2025-03-01 21:03:48 +02:00
parent 947a307b25
commit a161118308

View File

@ -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 "$@"