summaryrefslogtreecommitdiffstats
path: root/standalone/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/src/main')
-rw-r--r--standalone/src/main/assembly/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/standalone/src/main/assembly/Dockerfile b/standalone/src/main/assembly/Dockerfile
index 4f39f410..e156bb94 100644
--- a/standalone/src/main/assembly/Dockerfile
+++ b/standalone/src/main/assembly/Dockerfile
@@ -36,6 +36,11 @@ ENV JRE_HOME ${JAVA_HOME}/jre
RUN mkdir /home/uui
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
+
RUN chmod 755 /home/uui/bin/*.sh
ENTRYPOINT /home/uui/bin/run.sh