summaryrefslogtreecommitdiffstats
path: root/docker/src/main/docker/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/src/main/docker/run.sh')
-rw-r--r--docker/src/main/docker/run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/src/main/docker/run.sh b/docker/src/main/docker/run.sh
new file mode 100644
index 0000000..662c8cf
--- /dev/null
+++ b/docker/src/main/docker/run.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+sed -i "s/DEBUG =.*/DEBUG = ${DEBUG}/g" ${ICE_SETTINGS}
+sed -i "s/MSB_ADDR =.*/MSB_ADDR = \"${MSB_ADDR}\"/g" ${ICE_SETTINGS}
+sed -i "s/MSB_PORT =.*/MSB_PORT = \"${MSB_PORT}\"/g" ${ICE_SETTINGS}
+
+/usr/local/bin/python app.py \ No newline at end of file