conda 패키지 dev container 수정
This commit is contained in:
jung-geun
2023-07-07 21:52:18 +09:00
parent ef7c058a09
commit 74c08684cc
2 changed files with 6 additions and 3 deletions

View File

@@ -3,6 +3,11 @@
{ {
"name": "Miniconda (Python 3)", "name": "Miniconda (Python 3)",
// Configure tool-specific properties. // Configure tool-specific properties.
"hostRequirements": {
"cpus": 16,
"memory": "64gb",
"storage": "128gb"
},
"customizations": { "customizations": {
"vscode": { "vscode": {
"extensions": [ "extensions": [
@@ -32,8 +37,7 @@
// "forwardPorts": [], // "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created. // Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": [ "postCreateCommand": [
"conda env create --file environment.yaml --name pso", "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. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root" // "remoteUser": "root"

View File

@@ -21,4 +21,3 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
conda env create --file environment.yaml --name pso conda env create --file environment.yaml --name pso
conda activate pso