trickster-is-weak / Surviving-Maps

Apache License 2.0
2 stars 6 forks source link

Added Dockerfiles for complete installation #4

Open Kalpesh-18 opened 1 year ago

Kalpesh-18 commented 1 year ago

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.

image

To terminate the session, close the webpage and run the following commands on terminal docker kill web

docker rm web