Small improvements (#1848)
* refactor: remove CORS * improvement: add healthcheck to Docker file
This commit is contained in:
@ -33,3 +33,6 @@ ENTRYPOINT [ "java", \
|
||||
"--add-opens", "java.base/java.io=ALL-UNNAMED", \
|
||||
"-Drunning.in.docker=true", \
|
||||
"-jar", "webgoat.jar", "--server.address", "0.0.0.0" ]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=3s \
|
||||
CMD curl --fail http://localhost:8080/WebGoat/actuator/health || exit 1
|
||||
|
Reference in New Issue
Block a user