mirror of
https://github.com/jung-geun/PSO.git
synced 2025-12-20 04:50:45 +09:00
23-07-07
dev container 설정 - tqdm + tensorflow 자동 설치 env name = pso 로 자동 생성
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user