docker build
docker build -t [tag] .
how to build docker image
docker build <Dockerfile path> -t image-name
dockerfile example
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
docker build from dockerfile
$ docker build - < Dockerfile
docker build supress build output
docker image build -t [name] . -q
command to build docker file
// Make sure you are in the same dictionary where you have saved your Dockerfile
command is:
docker build .