this is my docker file:
WORKDIR /scan
RUN pip install pymongo
RUN pip install netmiko
RUN pip install pyats[full]
ENV Testbed=
ENV arr=
# ENV device=
# ENV id=
COPY . /scan
ENTRYPOINT ["python3", "main.py"]
I want to pip install this particular packages locally Like from a tar files. I want to build the image without any internet, so that's why I need it to be locally so that the pip will take them from local and not from internet. I just want to clarify that when I pip install requirements it will go anyway to the internet, I already try it.
You need base image in dockerfiles:
For running any commands in the process of building docker image (keyword RUN):