Skip to content

Commit ce10633

Browse files
Update devcontainer.json
1 parent 2e48d2f commit ce10633

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

.devcontainer/devcontainer.json

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
{
22
"name": "Python Flask Development Container",
3-
"image": "mcr.microsoft.com/devcontainers/universal:2",
3+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bookworm",
44
"features": {
5-
"ghcr.io/devcontainers/features/python:1": {
6-
"version": "latest"
7-
},
8-
"ghcr.io/devcontainers/features/github-cli:1": {}
5+
"ghcr.io/devcontainers/features/python:1": {}
96
},
107
"hostRequirements": {
118
"cpus": 4
129
},
1310
"waitFor": "onCreateCommand",
14-
"updateContentCommand": "pip install -r requirements.txt",
15-
"postCreateCommand": "", // You can add setup scripts here if needed
11+
"updateContentCommand": "",
12+
"postCreateCommand": "pip install -r requirements.txt && apt-get clean && rm -rf /root/.cache/pip",
1613
"postStartCommand": "", // For commands to run each Codespace start
1714
"customizations": {
1815
"vscode": {
@@ -39,19 +36,24 @@
3936
"chat.agent.enabled": false
4037
},
4138
"extensions": [
42-
"ms-python.black-formatter",
43-
"McCarter.start-git-bash",
44-
"ms-python.python",
39+
"bierner.markdown-mermaid",
40+
"bierner.markdown-preview-github-styles",
4541
"esbenp.prettier-vscode",
46-
"oderwat.indent-rainbow",
47-
"tomoki1207.pdf",
4842
"GitHub.codespaces",
49-
"ms-python.debugpy",
50-
"yahyabatulu.vscode-markdown-alert",
51-
"bierner.markdown-preview-github-styles",
43+
"mathematic.vscode-pdf",
44+
"McCarter.start-git-bash",
5245
"mechatroner.rainbow-csv",
46+
"ms-python.black-formatter",
47+
"ms-python.debugpy",
5348
"ms-python.pylint",
54-
"bierner.markdown-mermaid"
49+
"ms-python.python",
50+
"oderwat.indent-rainbow",
51+
"yahyabatulu.vscode-markdown-alert",
52+
"oderwat.indent-rainbow",
53+
"streetsidesoftware.code-spell-checker",
54+
"tal7aouy.icons",
55+
"yahyabatulu.vscode-markdown-alert",
56+
"yy0931.vscode-sqlite3-editor"
5557
]
5658
}
5759
},

0 commit comments

Comments
 (0)