Spaces:
Runtime error
Runtime error
TYH71 commited on
env: create devcontainer.json
Browse files
.devcontainer/devcontainer.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image": "mcr.microsoft.com/devcontainers/python:0-3.10-bullseye",
|
| 3 |
+
"features": {
|
| 4 |
+
"ghcr.io/devcontainers/features/python:1": {
|
| 5 |
+
"version": "3.10"
|
| 6 |
+
}
|
| 7 |
+
}
|
| 8 |
+
// Features to add to the dev container. More info: https://containers.dev/features.
|
| 9 |
+
// "features": {},
|
| 10 |
+
|
| 11 |
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
| 12 |
+
// "forwardPorts": [],
|
| 13 |
+
|
| 14 |
+
// Use 'postCreateCommand' to run commands after the container is created.
|
| 15 |
+
// "postCreateCommand": "pip3 install --user -r requirements.txt",
|
| 16 |
+
|
| 17 |
+
// Configure tool-specific properties.
|
| 18 |
+
// "customizations": {},
|
| 19 |
+
|
| 20 |
+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
| 21 |
+
// "remoteUser": "root"
|
| 22 |
+
}
|