docker construi
docker build -t [tag] .
cum se construiește imaginea docker
docker build <Dockerfile path> -t image-name
exemplu dockerfile
FROM ubuntu:18.04
COPY . /app
RUN make /app
CMD python /app/app.py
docker construi din dockerfile
$ docker build - < Dockerfile
docker construi supresa construi de ieșire
docker image build -t [name] . -q
comandă pentru a construi fișierul docker
// Make sure you are in the same dictionary where you have saved your Dockerfile
command is:
docker build .