From fbfc0fbb72af2e5a9b18af4aea63113e6d18e131 Mon Sep 17 00:00:00 2001 From: Tharushan Date: Sat, 12 Aug 2023 19:41:59 +0000 Subject: [PATCH] fix: comment overrideCommand to make django container work --- .devcontainer/devcontainer.json | 4 ++-- .pre-commit-config.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e166488..3e7b884 100755 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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", @@ -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}", } \ No newline at end of file diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f5a6eef..52a2b71 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -exclude: '^docs/|/migrations/' +exclude: '^docs/|/migrations/|.devcontainer/' default_stages: [commit] repos: