|
| 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/python |
1 | 3 | { |
2 | | - "name": "Tailspin Toys Dev Container", |
3 | | - "image": "mcr.microsoft.com/devcontainers/universal:latest", |
4 | | - "postCreateCommand": "./scripts/setup-env.sh", |
5 | | - "customizations": { |
6 | | - "vscode": { |
7 | | - "extensions": [ |
8 | | - "ms-dotnettools.csharp", |
9 | | - "GitHub.copilot", |
10 | | - "GitHub.copilot-chat", |
11 | | - "ms-python.vscode-pylance", |
12 | | - "svelte.svelte-vscode", |
13 | | - "astro-build.astro-vscode" |
14 | | - ] |
15 | | - } |
16 | | - }, |
17 | | - "features": { |
18 | | - "ghcr.io/devcontainers/features/dotnet:2": { |
19 | | - "version": "9.0" |
20 | | - } |
21 | | - } |
| 4 | + "name": "Python 3", |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", |
| 7 | + "features": { |
| 8 | + "ghcr.io/devcontainers/features/node:1": {}, |
| 9 | + "ghcr.io/schlich/devcontainer-features/playwright:0": {}, |
| 10 | + "ghcr.io/devcontainers-extra/features/typescript:2": {} |
| 11 | + }, |
| 12 | + "postCreateCommand": "./scripts/setup-env.sh", |
| 13 | + "customizations": { |
| 14 | + "vscode": { |
| 15 | + "extensions": [ |
| 16 | + "ms-dotnettools.csharp", |
| 17 | + "GitHub.copilot", |
| 18 | + "GitHub.copilot-chat", |
| 19 | + "ms-python.vscode-pylance", |
| 20 | + "svelte.svelte-vscode", |
| 21 | + "astro-build.astro-vscode" |
| 22 | + ] |
| 23 | + } |
| 24 | + }, |
| 25 | + |
| 26 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 27 | + // "features": {}, |
| 28 | + |
| 29 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 30 | + "forwardPorts": [ |
| 31 | + 4321, |
| 32 | + 5100 |
| 33 | + ], |
| 34 | + |
| 35 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 36 | + // "postCreateCommand": "pip3 install --user -r requirements.txt", |
| 37 | + |
| 38 | + // Configure tool-specific properties. |
| 39 | + // "customizations": {}, |
| 40 | + |
| 41 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 42 | + // "remoteUser": "root" |
22 | 43 | } |
0 commit comments