Update Dockerfile

This commit is contained in:
Nanne Baars
2021-04-03 16:25:06 +02:00
committed by Nanne Baars
parent d345a9a716
commit 04d065fd87
3 changed files with 13 additions and 5 deletions

View File

@ -3,10 +3,14 @@
cd /home/webgoat
service nginx start
sleep 1
echo "Starting WebGoat..."
java -Duser.home=/home/webgoat -Dfile.encoding=UTF-8 -jar webgoat.jar --webgoat.build.version=$1 --server.address=0.0.0.0 > webgoat.log &
sleep 10
echo "Starting WebWolf..."
java -Duser.home=/home/webgoat -Dfile.encoding=UTF-8 -jar webwolf.jar --webgoat.build.version=$1 --server.address=0.0.0.0 > webwolf.log &
echo "Browse to http://localhost" to get started >> webgoat.log
tail -300f webgoat.log