docker create new container using running container code example
Example 1: how to build docker image
docker build <Dockerfile path> -t image-name
Example 2: create dockerfile
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
docker build <Dockerfile path> -t image-name
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py