docker build --network=host --no-cache . code example
Example 1: docker build supress build output
docker image build -t [name] . -q
Example 2: create dockerfile
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
docker image build -t [name] . -q
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py