問題文
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?
選択肢
- The Dockerfile has to be moved to the repository root.
- The build must be run after removing the lock file.
- The build has to run with the repository root as its context, even though the Dockerfile sits deeper in the tree.
- 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.