Build a docker image
- Make sure you are in the folder that contains the
- If your folder is
/my-docker-image/, there should be 2 files in your folder:
/my-docker-image | |---Dockerfile |---requirements.txt
- To build the image, run:
docker build -t <image-name>:<version-number> .
- In the above command, make sure you have
a dot[.]at the end of the command included. It means that all the files would be collected and sent to the
- Once done, the docker image would be ready on your local system.