diff --git a/search/enterprise/metadata/Dockerfile b/search/enterprise/metadata/Dockerfile index 72756b04..86db134e 100644 --- a/search/enterprise/metadata/Dockerfile +++ b/search/enterprise/metadata/Dockerfile @@ -5,5 +5,4 @@ EXPOSE 8080 ADD *-app.jar /opt/app.jar -WORKDIR /opt -ENTRYPOINT exec java $JAVA_OPTS -jar app.jar +CMD ["java", "$JAVA_OPTS", "-jar", "/opt/app.jar"]