fix(devcontainer): chown workspace directory

for some reason, the default `.data` mount is not owned by the `vscode` user (on my system at least), so we `chown` it to ensure that `uv run redbot-setup` can write to the directory.
This commit is contained in:
cswimr 2025-01-25 14:43:02 -05:00
parent cbd4f6dfcc
commit 549519782a
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -30,6 +30,6 @@
"PROJECT_DIR": "/workspaces/SeaCogs"
},
"mounts": ["source=seacogs-persistent-data,target=/workspaces/SeaCogs/.data,type=volume"],
"postCreateCommand": "uv sync --frozen",
"postCreateCommand": "uv sync --frozen && sudo chown -R vscode:vscode /workspaces/SeaCogs/.data",
"remoteUser": "vscode"
}