TerminalDocker / docker-entrypoint.sh
clone3's picture
Update docker-entrypoint.sh
e7af1b5 verified
raw
history blame
397 Bytes
#!/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 "$@"