To test, clone the code and run the following docker commands on terminal.
docker build --file=Dockerfile -t SurvivingMaps .
This command will build the docker image during which the code would also get built. This command will take few minutes to execute as the jar file is getting. You have to create the image only once after that, each time container can be created quickly using the following command.
To test, clone the code and run the following docker commands on terminal.
docker build --file=Dockerfile -t SurvivingMaps .
This command will build the docker image during which the code would also get built. This command will take few minutes to execute as the jar file is getting. You have to create the image only once after that, each time container can be created quickly using the following command.
docker run -it -p 80:80 --name web SurvivingMaps
Check "http://localhost", attached an image of the same.
To terminate the session, close the webpage and run the following commands on terminal
docker kill web
docker rm web