From 3a3b208c4bc821f4bc8a4896a676e4ef3520173e Mon Sep 17 00:00:00 2001 From: TESLA-SATI Date: Wed, 11 Jun 2025 17:31:53 +0200 Subject: [PATCH] Create devcontainer.json Blockchain SATI Signed-off-by: TESLA-SATI --- .devcontainer/devcontainer.json | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..783469c --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,34 @@ +{ + "name": "AIxBlock Dev Env", + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + "ghcr.io/devcontainers/features/python:1": { + "version": "3.11" + }, + "ghcr.io/devcontainers/features/docker-in-docker:1": {}, + "ghcr.io/devcontainers/features/github-cli:1": {}, + "ghcr.io/devcontainers/features/node:1": { + "version": "18" + }, + "ghcr.io/devcontainers/features/postgres:1": { + "version": "15" + }, + "ghcr.io/devcontainers/features/redis:1": { + "version": "7" + } + }, + "postCreateCommand": "pip install torch transformers datasets scikit-learn flask fastapi langchain openai jupyterlab sqlalchemy psycopg2 redis uvicorn", + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-azuretools.vscode-docker", + "github.vscode-pull-request-github", + "esbenp.prettier-vscode", + "ms-toolsai.jupyter" + ] + } + }, + "forwardPorts": [5432, 6379, 8888, 8000], + "remoteUser": "vscode" +}