Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

dev: Add a devcontainer for deploy a dev env in minutes

Clémence Lesné0d66e598334e
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 0000000..c5f839c
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,48 @@
+{
+ "name": "Development",
+ "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bookworm",
+ "forwardPorts": [8080],
+ "init": true,
+ "remoteEnv": {
+ "HOMEBREW_AUTO_UPDATE_SECS": "604800"
+ },
+ "features": {
+ "ghcr.io/devcontainers/features/common-utils:2": {
+ "configureZshAsDefaultShell": true
+ },
+ "ghcr.io/meaningful-ooo/devcontainer-features/homebrew:2": {}
+ },
+ "onCreateCommand": "cd /workspaces/call-center-ai && python3 -m venv .venv",
+ "updateContentCommand": "cd /workspaces/call-center-ai && . .venv/bin/activate && make brew upgrade install",
+ "customizations": {
+ "vscode": {
+ "settings": {
+ "python.defaultInterpreterPath": ".venv/bin/python"
+ },
+ "extensions": [
+ "bierner.markdown-mermaid",
+ "bradlc.vscode-tailwindcss",
+ "DavidAnson.vscode-markdownlint",
+ "EditorConfig.EditorConfig",
+ "github.vscode-github-actions",
+ "mechatroner.rainbow-csv",
+ "mikestead.dotenv",
+ "ms-azuretools.vscode-azurefunctions",
+ "ms-azuretools.vscode-bicep",
+ "ms-python.black-formatter",
+ "ms-python.debugpy",
+ "ms-python.isort",
+ "ms-python.pylint",
+ "ms-python.python",
+ "ms-python.vscode-pylance",
+ "ms-toolsai.jupyter",
+ "ms-vscode.azurecli",
+ "ms-vscode.makefile-tools",
+ "qwtel.sqlite-viewer",
+ "redhat.vscode-yaml",
+ "visualstudioexptteam.vscodeintellicode",
+ "wholroyd.jinja"
+ ]
+ }
+ }
+}
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 775edbd..7aeb83d 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -10,3 +10,8 @@ updates:
target-branch: develop
schedule:
interval: weekly
+ - package-ecosystem: "devcontainers"
+ directory: ""
+ target-branch: develop
+ schedule:
+ interval: weekly