Quix 12 Build Contexts question no 9

Dear Support,
for the questions

What is the command to build an image using a Dockerfile.dev file under path /opt/myapp with the name webapp . The current directory you are in is /tmp .

the answer given is
docker build -f /opt/myapp/Dockerfile.dev /opt/myapp -t webapp

is it not the correct answer be

docker build -f /opt/myapp/Dockerfile.dev -t webapp
rather than which given

Hello @joseph.john,
You should specify the root folder for the “build context”. Often that’s the root folder of the project, and in our case, it’s /opt/myapp.

NOTE: The current directory you are in is /tmp