dev container 설정 - tqdm + tensorflow 자동 설치 env name = pso 로 자동 생성
This commit is contained in:
jung-geun
2023-07-07 18:30:08 +09:00
parent c163de6cb6
commit 7410ed9e04
12 changed files with 124 additions and 135 deletions

View File

@@ -2,14 +2,20 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/miniconda
{
"name": "Miniconda (Python 3)",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-toolsai.jupyter"
"ms-toolsai.jupyter",
"donjayamanne.python-extension-pack",
"tht13.python",
"esbenp.prettier-vscode",
"ms-python.black-formatter"
]
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/nvidia-cuda:1": {
"installCudnn": true
@@ -22,15 +28,13 @@
"version": "3.9"
}
},
"postCreateCommand": "conda env create --file environment.yaml --name pso"
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "python --version",
// Configure tool-specific properties.
// "customizations": {},
"postCreateCommand": [
"conda env create --file environment.yaml --name pso",
"conda activate pso"
]
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}