aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/bin/start.sh1
-rw-r--r--src/main/docker/Dockerfile1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh
index 87ec099..d340c07 100644
--- a/src/main/bin/start.sh
+++ b/src/main/bin/start.sh
@@ -33,4 +33,5 @@ fi
JVM_MAX_HEAP=${MAX_HEAP:-1024}
set -x
+
exec java -Xmx${JVM_MAX_HEAP}m $PROPS -jar ${APP_HOME}/gizmo.jar
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile
index 35297e7..b608423 100644
--- a/src/main/docker/Dockerfile
+++ b/src/main/docker/Dockerfile
@@ -12,6 +12,7 @@ ARG USERS_HOME=/opt/aaihome
RUN mkdir -p $MICRO_HOME $USERS_HOME /logs \
&& groupadd -g 492382 aaiadmin \
&& useradd -r -u 341790 -g 492382 -ms /bin/sh -d $USERS_HOME/aaiadmin aaiadmin
+
WORKDIR $MICRO_HOME
COPY /maven/gizmo/ .
RUN chmod 755 $BIN_HOME/* \