diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100755 index 0000000..35c1344 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,27 @@ +{ + "name": "Python 3", + "image": "mcr.microsoft.com/devcontainers/python:3.10-bullseye", + "features": { + "ghcr.io/devcontainers/features/node:1": { + "version": "lts" + }, + "ghcr.io/devcontainers/features/common-utils:1": {}, + "ghcr.io/devcontainers/features/git:1": {}, + "ghcr.io/devcontainers/features/nvidia-cuda:1": {}, + "ghcr.io/rocker-org/devcontainer-features/pandoc:1": {}, + "ghcr.io/devcontainers-contrib/features/pylint:1": {}, + "ghcr.io/devcontainers-contrib/features/tox:1": {} + }, + + // 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": "pip3 install --user -r requirements-test.txt", + + // Configure tool-specific properties. + // "customizations": {}, + + // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. + "remoteUser": "vscode" +}