from container build image docker code example
Example 1: how to build docker image
docker build -t image-name
Example 2: create dockerfile
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
docker build -t image-name
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py