Skip to content

Commit

Permalink
fix: comment overrideCommand to make django container work
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharushan committed Aug 12, 2023
1 parent 03cd57c commit fbfc0fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
// Tells devcontainer.json supporting services / tools whether they should run
// /bin/sh -c "while sleep 1000; do :; done" when starting the container instead of the container’s default command
"overrideCommand": true,
// "overrideCommand": true,
"service": "django",
// "remoteEnv": {"PATH": "/home/dev-user/.local/bin:${containerEnv:PATH}"},
"remoteUser": "dev-user",
Expand Down Expand Up @@ -82,5 +82,5 @@
// "shutdownAction": "none",
// Uncomment the next line to run commands after the container is created.
"postCreateCommand": "cat .devcontainer/bashrc.override.sh >> ~/.bashrc",
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}"
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude: '^docs/|/migrations/'
exclude: '^docs/|/migrations/|.devcontainer/'
default_stages: [commit]

repos:
Expand Down

0 comments on commit fbfc0fb

Please sign in to comment.