Introduction to the Dockerfile Part II

Intoduction to the Dockerfile for beginner

source image : deploybot.com

Create Dockerfile

Dockerfile content:

Create requirements.txt file

Create app.py file

Build image from Dockerfile

See image friendlyhello

Run image friendlyhello

See container :

Test app using curl

curl http://localhost:4000

Test app

This is my little notes based my experiment and my learning. Keep learning and keep calm.

This is my little notes based my experiment and my learning. Keep learning and keep calm.