fixed entrypoint command
authorFrank Greguska <francis.greguska@jpl.nasa.gov>
Tue, 30 Jan 2018 01:06:15 +0000 (17:06 -0800)
committerFrank Greguska <francis.greguska@jpl.nasa.gov>
Tue, 30 Jan 2018 01:06:15 +0000 (17:06 -0800)
docker/entrypoint.sh

index b361e40..813fc45 100755 (executable)
@@ -7,4 +7,4 @@ GRANULE=`find /data -type f -print -quit`
 
 python -m sdap.ningesterpy 2>&1 | sed "s/^/[ningesterpy] /" &
 
-java -Dspring.profiles.active=$1 -Dspring.config.location=${CONFIG_FILES} -jar ${NINGESTER_JAR} granule=file://${GRANULE} ${@:2} | sed "s/^/[ningester] /"
\ No newline at end of file
+java -Dspring.profiles.active=$1 -Dspring.config.location=classpath:/application.yml,${CONFIG_FILES} -jar ${NINGESTER_JAR} granule=file://${GRANULE} ${@:2} | sed "s/^/[ningester] /"
\ No newline at end of file