summaryrefslogtreecommitdiffstats
path: root/standalone/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/src/main')
-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