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