This is the question and Hint
When a container is created using the image built with this Dockerfile, what is the command used to
RUN the application inside it.
Inspect the Dockerfile in the
docker run app
pip install flask
Open the Dockerfile and look for
This is the dockerfile output on left hand side
$ cat Dockerfile
RUN pip install flask
COPY . /opt/
ENTRYPOINT [“python”, “app.py”]
The right answer appears to be " pip install flask " which is stated after RUN command.
Why this is not a right answer ?
Why is the hint and checks of this questions says the answer is in the ‘ENTRYPOINT’ command ?
The check also passed only for python app.py
waiting for your kind reply
with best regards