We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2261c1c commit b38ae32Copy full SHA for b38ae32
1 file changed
.changeset/entrypoint-clone-app-folder.md
@@ -0,0 +1,12 @@
1
+---
2
+"@prover-coder-ai/docker-git": patch
3
4
+
5
+Fix the standalone base image cloning the repo outside the prepared `app` folder.
6
7
+The Dockerfile prepares and chowns `/home/dev/app` to the unprivileged `dev`
8
+user, but `entrypoint.sh` defaulted `TARGET_DIR` to `/work/app`. Because the
9
+auto-clone runs as `su - dev`, cloning into the root-created `/work/app` failed
10
+with permission denied, so the repository never landed in the `app` folder.
11
+The default now points at `/home/dev/app`, and the resolved `TARGET_DIR` is
12
+chowned to `dev` so overrides outside `/home/dev` keep working too.
0 commit comments