Skip to content

Commit 159a2cd

Browse files
authored
Update Dockerfile
Signed-off-by: sandhami <[email protected]>
1 parent 9608871 commit 159a2cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jira-zephyr-scale/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ WORKDIR $APP_DIR
2727
VOLUME $PROPERTIES_DIR
2828

2929
# Set the JAR file variables
30-
ARG ZEPHYR_JAR_FILE=zephyr-processor-exec.jar
30+
ARG ZEPHYR_JAR_FILE=target/zephyr-processor-exec.jar
3131

3232
# Set the properties file names
3333
ARG ZEPHYR_PROPERTIES_FILE_NAME=zephyr.properties
@@ -46,4 +46,4 @@ RUN chown -R $USER:$USER $APP_DIR \
4646
USER $USER:$GID
4747

4848
# Command to run the application
49-
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar zephyr.jar --spring.config.location=classpath:/BOOT-INF/classes/application.properties --spring.config.additional-location=optional:file:$PROPERTIES_DIR/$ZEPHYR_PROPERTIES_FILE_NAME"]
49+
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar zephyr.jar --spring.config.location=classpath:/BOOT-INF/classes/application.properties --spring.config.additional-location=optional:file:$PROPERTIES_DIR/$ZEPHYR_PROPERTIES_FILE_NAME"]

0 commit comments

Comments
 (0)