Skip to content
Snippets Groups Projects
Commit e5d0f5b1 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

add java opts

parent 1e046eb1
No related branches found
No related tags found
2 merge requests!72Production Release | nshmp-netcdf,!71add java opts
......@@ -56,6 +56,7 @@ ARG netcdf_file="src/main/resources/default.nc"
ENV NSHM "CONUS_2018A"
ENV CONTEXT_PATH "/"
ENV JAVA_OPTS=""
ARG jar_file
ARG project
......@@ -70,6 +71,7 @@ COPY --from=builder ${jar_file} ${project}.jar
COPY ${NETCDF_FILE} ${NETCDF_FILE}
ENTRYPOINT /usr/bin/java -jar ${PROJECT}.jar \
${JAVA_OPTS} \
"-Dmicronaut.server.context-path=${CONTEXT_PATH}" \
-nshm=${NSHM} \
-netcdf=${NETCDF_FILE}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment