Skip to content

Commit

Permalink
add-opens command in Docker File
Browse files Browse the repository at this point in the history
  • Loading branch information
GordeaS authored and GordeaS committed Mar 19, 2024
1 parent fb778cd commit 31d18dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ ADD https://repo1.maven.org/maven2/co/elastic/apm/elastic-apm-agent/$ELASTIC_APM

COPY ./set-web/target/set-web-executable.jar /opt/app/set-web-executable.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/opt/app/set-web-executable.jar"]
ENTRYPOINT ["java", "--add-opens=java.base/java.util=ALL-UNNAMED", "--add-opens=java.base/java.lang=ALL-UNNAMED", "-jar", "/opt/app/set-web-executable.jar"]

0 comments on commit 31d18dc

Please sign in to comment.