.
├── app
│ └── main.py
└── Dockerfile
Dockerfile is, containing your app directory)docker build -t test:testing .
docker run -d --name test-cont -p 80:80 test:testing
curl http://localhost
{"Accept":"*/*","Client IP":"172.17.0.1","Host":"localhost","User-Agent":"curl/7.61.1"}
docker pull namcx/python-flask
Content type
Image
Digest
Size
42.5 MB
Last updated
about 7 years ago
docker pull namcx/python-flask