From ec4f8cf5fbaef1abbfc6746f70d6367109238d59 Mon Sep 17 00:00:00 2001 From: Brylie Christopher Oxley Date: Fri, 20 Sep 2024 14:39:20 +0000 Subject: [PATCH] Only run setup comands after creating container --- .devcontainer/devcontainer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f27a5a17..c4b6d67c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -40,6 +40,5 @@ } }, "forwardPorts": [8000], - "updateContentCommand": "pip install -r requirements-dev.txt && python manage.py migrate && pre-commit install && python manage.py scaffold_initial_content", - "postCreateCommand": "cp .env.example .env" + "postCreateCommand": "cp .env.example .env && pip install -r requirements-dev.txt && python manage.py migrate && pre-commit install && python manage.py scaffold_initial_content" }