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:
parent
cbd4f6dfcc
commit
549519782a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue