Full implementation of "Update Webgoat Dockerfile to use entrypoints and commands #523" based on the pull request of Nicklaus McClendon
This commit is contained in:
@ -8,5 +8,9 @@ RUN \
|
||||
|
||||
USER webwolf
|
||||
COPY target/webwolf-${webwolf_version}.jar /home/webwolf/webwolf.jar
|
||||
COPY start-webwolf.sh /home/webwolf
|
||||
|
||||
EXPOSE 9090
|
||||
|
||||
ENTRYPOINT ["/home/webwolf/start-webwolf.sh"]
|
||||
CMD ["--server.port=9090", "--server.address=0.0.0.0"]
|
Reference in New Issue
Block a user