From f3024257078722df22a1e4e67181ea9fcf0504b3 Mon Sep 17 00:00:00 2001 From: shentao Date: Thu, 28 Sep 2017 07:08:19 +0800 Subject: Modify dockerFile for db creation Change-Id: I2afe08d4b29f4beaca2200d94b47a876356c5a29 Issue-Id: USECASEUI-44 Signed-off-by: shentao --- standalone/src/main/assembly/Dockerfile | 7 ++++--- 1 file 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 -- cgit 1.2.3-korg