openai/openai-python
Publicmirrored fromhttps://github.com/openai/openai-pythonAvailable
.devcontainer/devcontainer.json
40lines · modecode
| 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": { |
| 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", |
| 20 | "python.defaultInterpreterPath": ".venv/bin/python", |
| 21 | "python.typeChecking": "basic", |
| 22 | "terminal.integrated.env.linux": { |
| 23 | "PATH": "/home/vscode/.rye/shims:${env:PATH}" |
| 24 | } |
| 25 | } |
| 26 | } |
| 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 | } |
| 41 | |