{8.2.0-new} Building and Running from Command-Line (Using Dockerfiles)

How to build and run Petstore using Docker:

  1. Go to the folder "juneau-petstore" and run this command:
    docker build . -t petstore && docker run -p 5000:5000 petstore

  2. Go to the folder "pets" and run this command:
    docker run --rm -it -p 3000:3000 -v $(pwd):/usr/src/app pets