fix(devcontainer): chown workspace directory
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 40s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 41s

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 a8bb62dcf3
commit 7369f5810a
Signed by: CoastalCommits
GPG key ID: 7E73189F651A553F

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"
}