Skip to content

Commit

Permalink
update dockerfile to use dist based UIconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jul 6, 2018
1 parent afd81c6 commit 9317f0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

sed -i 's/127.0.0.1/0.0.0.0/g' /usr/src/app/web/vue/public/UIconfig.js
sed -i 's/localhost/'${HOST}'/g' /usr/src/app/web/vue/public/UIconfig.js
sed -i 's/3000/'${PORT}'/g' /usr/src/app/web/vue/public/UIconfig.js
sed -i 's/127.0.0.1/0.0.0.0/g' /usr/src/app/web/vue/dist/UIconfig.js
sed -i 's/localhost/'${HOST}'/g' /usr/src/app/web/vue/dist/UIconfig.js
sed -i 's/3000/'${PORT}'/g' /usr/src/app/web/vue/dist/UIconfig.js
exec node gekko "$@"

0 comments on commit 9317f0c

Please sign in to comment.