Execute postinstall in docker entrypoint
| @@ -5,5 +5,8 @@ if [ ! -e "config/config.yaml" ]; then | |||
| 5 | cp -r "default/config.yaml" "config/config.yaml" | 5 | cp -r "default/config.yaml" "config/config.yaml" |
| 6 | fi | 6 | fi |
| 7 | 7 | ||
| 8 | # Execute postinstall to auto-populate config.yaml with missing values | ||
| 9 | npm run postinstall | ||
| 10 | |||
| 8 | # Start the server | 11 | # Start the server |
| 9 | exec node server.js --listen "$@" | 12 | exec node server.js --listen "$@" |