Docker image will be constructed using the Dockerfile. Use docker cli to build and run docker image.
The next step is to install the dependencies for the app:
(cypher-app)$ pip install -r requirements.txt
...
Successfully installed py2neo
Cleaning up...
And finally let’s start up a Bottle web server:
(cypher-app)$ python authz.py
Bottle v0.12.7 server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:8080/
Hit Ctrl-C to quit.
Navigate to http://localhost:8080 and you should see your application APIs, replace localhost with the ip address of the Docker Machine IP.