I am new to Docker. I know how to build docker images and pip install the required python modules using a requirements.txt. I also know how to add a couple of python apps to the docker image while building it. However, since most of my python scripts are still in the development phase and I update them almost every day, I have put the python scripts in a git repo (that is also added $PATH) instead of building the docker image everyday.
Now, the problem is I would like to run these python $PATH scripts using the python and the modules installed in the docker image and am not sure how to do it. I found a similar previously asked question, but unfortunately, it does not have an answer.
The below is my docker file
FROM ubuntu:18.04
COPY . /app
WORKDIR /app
RUN apt-get install python3 python3-pip
RUN pip3 install -r requirements.txt
ENTRYPOINT bash
Assuming my python script in path is called helloWorld.py and it uses modules mentioned in requirements.txt, how would I run it? Thanks.