Docker build
docker build -t [tag] .
jak vytvořit obrázek docker
docker build <Dockerfile path> -t image-name
příklad dockerfile
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
Docker stavět z dockerfile
$ docker build - < Dockerfile
Docker build supress build output
docker image build -t [name] . -q
příkaz k sestavení souboru docker
// Make sure you are in the same dictionary where you have saved your Dockerfile
command is:
docker build .