/URL-Shortener

Primary LanguageJavaScriptApache License 2.0Apache-2.0

URL-Shortener

Dockerfile source: https://github.com/katiascavo/Dockerfile.git

##Installation guide Remember to set port 8080 into Virtual-Box

  1. Start boot2docker or docker-machine
$ boot2docker start
$ boot2docker ssh
  1. Clone this repository
$ git clone https://github.com/katiascavo/Dockerfile.git
  1. Building of image
$ docker build --tag=gruppo_pbdmng_1/urlshortener Dockerfile
  1. Create and run the container
$ docker run -d --name urlshortener -p 8080:8080 gruppo_pbdmng_1/urlshortener
  1. Enter into container
$ docker exec -it urlshortener bash
  1. Launch the application
$ ./start

To see the application in action open this link: http://localhost:8080 in your web broswer.