From 74c08684cc831ee30141a09ee972ac7ad8e55c3c Mon Sep 17 00:00:00 2001 From: jung-geun Date: Fri, 7 Jul 2023 21:52:18 +0900 Subject: [PATCH] =?UTF-8?q?23-07-07=20conda=20=ED=8C=A8=ED=82=A4=EC=A7=80?= =?UTF-8?q?=20dev=20container=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/devcontainer.json | 8 ++++++-- .github/workflows/python-package-conda.yml | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f9e2cbc..f90808a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,6 +3,11 @@ { "name": "Miniconda (Python 3)", // Configure tool-specific properties. + "hostRequirements": { + "cpus": 16, + "memory": "64gb", + "storage": "128gb" + }, "customizations": { "vscode": { "extensions": [ @@ -32,8 +37,7 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": [ - "conda env create --file environment.yaml --name pso", - "conda activate pso" + "conda env create --file environment.yaml --name pso" ] // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index 5cc49d3..4dfc54b 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -21,4 +21,3 @@ jobs: - name: Install dependencies run: | conda env create --file environment.yaml --name pso - conda activate pso \ No newline at end of file