openai/openai-python
Publicmirrored from https://github.com/openai/openai-pythonAvailable
.devcontainer/devcontainer.json
40lines · modeblame
08b8179aDavid Schnurr2 years ago | 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the |
| 2 | // README at: https://github.com/devcontainers/templates/tree/main/src/debian | |
| 3 | { | |
| 4 | "name": "Debian", | |
| 5 | "build": { | |
ebdcc3f5Stainless Bot2 years ago | 6 | "dockerfile": "Dockerfile", |
| 7 | "context": ".." | |
| 8 | }, | |
| 9 | | |
| 10 | "postStartCommand": "rye sync --all-features", | |
| 11 | | |
| 12 | "customizations": { | |
| 13 | "vscode": { | |
| 14 | "extensions": [ | |
| 15 | "ms-python.python" | |
| 16 | ], | |
| 17 | "settings": { | |
| 18 | "terminal.integrated.shell.linux": "/bin/bash", | |
| 19 | "python.pythonPath": ".venv/bin/python", | |
e9300e0eStainless Bot2 years ago | 20 | "python.defaultInterpreterPath": ".venv/bin/python", |
ebdcc3f5Stainless Bot2 years ago | 21 | "python.typeChecking": "basic", |
| 22 | "terminal.integrated.env.linux": { | |
| 23 | "PATH": "/home/vscode/.rye/shims:${env:PATH}" | |
| 24 | } | |
| 25 | } | |
| 26 | } | |
08b8179aDavid Schnurr2 years ago | 27 | } |
| 28 | | |
| 29 | // Features to add to the dev container. More info: https://containers.dev/features. | |
| 30 | // "features": {}, | |
| 31 | | |
| 32 | // Use 'forwardPorts' to make a list of ports inside the container available locally. | |
| 33 | // "forwardPorts": [], | |
| 34 | | |
| 35 | // Configure tool-specific properties. | |
| 36 | // "customizations": {}, | |
| 37 | | |
| 38 | // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | |
| 39 | // "remoteUser": "root" | |
| 40 | } |