#!/bin/bash # Replace user and password in the config/index.js file in-place sed -i "s/YOUR_USERNAME/$USER/" config/index.js sed -i "s/YOUR_PASSWORD/$PASSWORD/" config/index.js # If you need any other settings, you can modify them here # Run any other initial setup you need, for example, client build npm run client:build # Finally, run the original command passed to the container exec "$@"