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:
Nanne Baars
2019-01-17 14:49:42 +01:00
parent ed490a5ecf
commit dc5f9880af
5 changed files with 19 additions and 5 deletions

View File

@ -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"]