1. Structure the directory inside container
docker build initial transfer
Base container image is ubuntu:16.04. When you execute command "docker build", all the files in the same directory and subdirectory of "Dockerfile" are transferred to Docker Daemon so you can copy those files to the base container image.
Create working directory
After installing all dependency, the docker container creates a new directory named "/app"
Clone Tensorflow object detection from Github
Then you clone Tensorflow object detection from Github to "/app/models"
Copy the necessary files and folders
Finally, copy the python file that generates web service app "object_detection_app_test1_docker.py"and directory "test1"
2. PORT setting
In the Dockerfile, you point out the port number 80 so the container communicate with outside network with the command below.