File size: 397 Bytes
9274dec
 
e7af1b5
9274dec
 
 
 
 
e7af1b5
9274dec
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 "$@"