aboutsummaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly
diff options
context:
space:
mode:
authorshentao <shentao@chinamobile.com>2017-09-28 07:08:19 +0800
committershentao <shentao@chinamobile.com>2017-09-28 07:08:28 +0800
commitf3024257078722df22a1e4e67181ea9fcf0504b3 (patch)
tree2a17c5d00f30d4b0604f1ce6a56f4d8a5381f352 /standalone/src/main/assembly
parent2df039471dc3e8622ec5db8ac71a70c8c6352ebc (diff)
Modify dockerFile for db creation
Change-Id: I2afe08d4b29f4beaca2200d94b47a876356c5a29 Issue-Id: USECASEUI-44 Signed-off-by: shentao <shentao@chinamobile.com>
Diffstat (limited to 'standalone/src/main/assembly')
-rw-r--r--standalone/src/main/assembly/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile
index 309e5d80..1a5ed614 100644
--- a/standalone/src/main/assembly/Dockerfile
+++ b/standalone/src/main/assembly/Dockerfile
@@ -38,9 +38,10 @@ WORKDIR /home/uui
ADD usecase-ui-server-*-linux64.tar.gz /home/uui/
#init db
-RUN chmod 755 /home/uui/resources/bin/*.sh
-RUN /home/uui/resources/bin/initDB.sh root root 3306 localhost
+#RUN chmod 755 /home/uui/resources/bin/*.sh
+#RUN /home/uui/resources/bin/initDB.sh root root 3306 127.0.0.1
-RUN chmod 755 /home/uui/bin/*.sh
+#RUN chmod 755 /home/uui/bin/*.sh
+ENTRYPOINT /home/uui/resources/bin/initDB.sh root root 3306 127.0.0.1
ENTRYPOINT /home/uui/bin/run.sh