docker byggja
docker build -t [tag] .
hvernig á að byggja docker ímynd
docker build <Dockerfile path> -t image-name
dockerfile dæmis
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
docker byggja frá dockerfile
$ docker build - < Dockerfile
docker byggja supress byggja framleiðsla
docker image build -t [name] . -q
skipun til að byggja docker skrá
// Make sure you are in the same dictionary where you have saved your Dockerfile
command is:
docker build .