フリー問題

Certified Backstage Associate のフリー問題 5 / 20 問目

問題文

A developer runs the container build from inside packages/backend, where the Dockerfile lives, and it fails because a lock file cannot be found. What does the documented setup require?

選択肢

  1. The Dockerfile has to be moved to the repository root.
  2. The build must be run after removing the lock file.
  3. The build has to run with the repository root as its context, even though the Dockerfile sits deeper in the tree.
  4. The lock file has to be copied into packages/backend before the build, so that the context stays small and the build does not have to read anything above it.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。