shorts
Build docker image from command line using your Dockerfile
complete context in the related video: • Docker basics: How to create my first Dock...
commands:
docker build --pull --rm -f "Dockerfile" -t dockervideo:latest "."
--pull download the image you specify in your FROM
--rm delete any image you have running this time with the same name
-f path to your Dockerfile
-t name of the Image:Tag of this image
The final dot is the path of the files you want to copy inside the docker container. Everything under this path , folders and files will be copied inside and the final destination inside depends of what you specify in the WORKDIR and COPY of your Dockerfile