Add DevContainer for GitHub Codespaces

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Robin Windey
2022-11-21 06:20:01 +00:00
committed by GitHub
parent 86b0105392
commit 98759e6e13
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// For format details, see https://aka.ms/devcontainer.json.
{
"name": "Nextcloud documentation DevContainer",
"context": "..",
"dockerFile": "Dockerfile",
"containerUser": "root",
"customizations": {
"vscode": {
"extensions": [
"tht13.rst-vscode",
"tomoki1207.pdf"
]
}
},
"postCreateCommand": "python3 -m pip install -r requirements.txt && python3 -m pip install sphinx-autobuild && cd build && composer install --ignore-platform-reqs"
}