Skip to content

Commit

Permalink
feat: JSONArgsRecommended CMD statement
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nhawk authored Jun 27, 2024
1 parent c0b7cb0 commit 3bb96c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ RUN update-ca-trust


# Directly run the code as a WAR.
CMD exec java ${DEFAULT_JAVA_OPTS} ${JAVA_OPTS} \
-cp ".:WebAPI.jar:WEB-INF/lib/*.jar${CLASSPATH}" \
org.springframework.boot.loader.WarLauncher
CMD ["java", "${DEFAULT_JAVA_OPTS}", "${JAVA_OPTS}", \
"-cp", ".:WebAPI.jar:WEB-INF/lib/*.jar${CLASSPATH}", \
"org.springframework.boot.loader.WarLauncher"]

0 comments on commit 3bb96c0

Please sign in to comment.