clone3 commited on
Commit
e7af1b5
·
verified ·
1 Parent(s): 005ca8a

Update docker-entrypoint.sh

Browse files
Files changed (1) hide show
  1. docker-entrypoint.sh +2 -2
docker-entrypoint.sh CHANGED
@@ -1,12 +1,12 @@
1
  #!/bin/bash
2
 
3
- # Replace user and password in the config/index.js file
4
  sed -i "s/YOUR_USERNAME/$USER/" config/index.js
5
  sed -i "s/YOUR_PASSWORD/$PASSWORD/" config/index.js
6
 
7
  # If you need any other settings, you can modify them here
8
 
9
- # Run any other initial setup you need, for example client build
10
  npm run client:build
11
 
12
  # Finally, run the original command passed to the container
 
1
  #!/bin/bash
2
 
3
+ # Replace user and password in the config/index.js file in-place
4
  sed -i "s/YOUR_USERNAME/$USER/" config/index.js
5
  sed -i "s/YOUR_PASSWORD/$PASSWORD/" config/index.js
6
 
7
  # If you need any other settings, you can modify them here
8
 
9
+ # Run any other initial setup you need, for example, client build
10
  npm run client:build
11
 
12
  # Finally, run the original command passed to the container