# The build context for src/DodoSSH.Api/Dockerfile is the repository root, because central # package management puts Directory.Packages.props there. That makes this file matter more # than it usually does: without it the context is the whole working tree, including every # bin/ and obj/ directory and the Android head's build output. # # Excluding obj/ is not only about size. A host obj/ carries project.assets.json and the # generated .nuget.g.props naming absolute host paths; copied into the image it overrides # the restore that just ran inside it, and the failure surfaces as packages "not found" # that are plainly present. **/bin/ **/obj/ artifacts/ .git/ .github/ .gitea/ .idea/ .vs/ .vscode/ # No project outside the API's reference closure contributes to this image. Listing them # keeps a context change from silently invalidating the COPY src/ layer on every commit to # a head this image does not contain. src/DodoSSH.Client.*/ tests/ docs/ deploy/ *.md *.user *.binlog Dockerfile* .dockerignore