Created
March 23, 2024 19:59
-
-
Save chrisliatas/416838880636b8d64993c46922c60539 to your computer and use it in GitHub Desktop.
devcontainer.json for a development environment. Combined with Dockerfile from comments.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Development Container", | |
"build": { | |
"dockerfile": "Dockerfile", | |
"context": "..", | |
"args": { | |
"VARIANT": "3.11", | |
"VARIANT_SFX": "-slim-bookworm", | |
"QUARTO_REL": "1.5.25", | |
"FONTS_VERSION": "3.1.1" | |
} | |
}, | |
"containerEnv": { | |
"OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}" | |
}, | |
"customizations": { | |
"vscode": { | |
"extensions": [ | |
"ms-python.python", | |
"ms-toolsai.jupyter", | |
"ms-python.vscode-pylance", | |
"visualstudioexptteam.vscodeintellicode", | |
"ms-python.black-formatter", | |
"GitHub.copilot" | |
], | |
"settings": { | |
"terminal.integrated.profiles.linux": { | |
"zsh": { | |
"path": "/usr/bin/zsh" | |
} | |
}, | |
"terminal.integrated.defaultProfile.linux": "zsh", | |
"[python]": { | |
"editor.rulers": [80] | |
}, | |
"editor.formatOnSave": true | |
} | |
} | |
}, | |
"remoteUser": "vscode" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Combine in vs code
.devcontainers
with this Dockerfile.