Skip to content

Commit

Permalink
Only run setup comands after creating container
Browse files Browse the repository at this point in the history
  • Loading branch information
brylie committed Sep 20, 2024
1 parent c840a1a commit ec4f8cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit ec4f8cf

Please sign in to comment.