Skip to content

Instantly share code, notes, and snippets.

@standoge
Created November 20, 2023 02:16
Show Gist options
  • Save standoge/a6adce05457e8433519aacad82507374 to your computer and use it in GitHub Desktop.
Save standoge/a6adce05457e8433519aacad82507374 to your computer and use it in GitHub Desktop.
A devcontainer file configuration for Python's Django framework
{
"name": "DJANGO",
"image": "python:3.7.5-slim",
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers-contrib/features/neovim-apt-get:1": {},
"ghcr.io/itsmechlark/features/doppler:2": {}
"ghcr.io/withfig/features/fig:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"batisteo.vscode-django",
"GitHub.copilot",
"GitHub.copilot-chat",
"rangav.vscode-thunder-client",
"Yummygum.city-lights-icon-vsc"
]
}
},
"settings": {
"terminal.integrated.shell.linux": "/bin/zsh"
},
"forwardPorts": [
8000,
8080,
9090
],
"postCreateCommand": "pip install -r requerements.txt && pip install django pymysql"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment