diff --git a/ui/.devcontainer/devcontainer.json b/ui/.devcontainer/devcontainer.json index 3d5581e..f4ecc19 100644 --- a/ui/.devcontainer/devcontainer.json +++ b/ui/.devcontainer/devcontainer.json @@ -2,17 +2,18 @@ "name": "Bun", "build": { "dockerfile": "Dockerfile", - // Update 'VARIANT' to pick a Bun version. "args": { "VARIANT": "latest" } }, - "customizations": { - "jetbrains": { - "backend": "IntelliJ" - } + "containerEnv": { + "GIT_REPO_URL": "https://scm.vilanet.fr/kriss/slot" }, - "//": "workspaceMount:source=jb_devcontainer_sources_f31d2e11122d7a0f1e78fb3337cc2916,target=/workspace,type=volume", + "customizations": { + "jetbrains": {} + }, + "forwardPorts": [5173], "workspaceFolder": "/workspace", - "forwardPorts": [5173] + "//": "workspaceMount: source=jb_devcontainer_sources_f31d2e11122d7a0f1e78fb3337cc2916,target=/workspace,type=volume", + "//": "postCreateCommand: if [ ! -d .git ]; then git clone $GIT_REPO_URL .; fi" }