diff --git a/layer-api/Dockerfile b/layer-api/Dockerfile index 3ca6f8ee..56e571ca 100644 --- a/layer-api/Dockerfile +++ b/layer-api/Dockerfile @@ -4,4 +4,5 @@ ARG JAR_FILE=./build/libs/*.jar COPY ${JAR_FILE} layer-server.jar -ENTRYPOINT java -jar layer-server.jar \ No newline at end of file + +ENTRYPOINT ["java","-Dspring.profiles.active=prod","-Dspring.config.location=classpath:/config/application.yml" ,"-jar" ,"layer-server.jar"] \ No newline at end of file