fengmiguoji commited on
Commit
a8a4efc
·
verified ·
1 Parent(s): f847352

Upload .devcontainer\devcontainer.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. .devcontainer//devcontainer.json +52 -0
.devcontainer//devcontainer.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/anaconda
3
+ {
4
+ "name": "Python 3.12",
5
+ "build": {
6
+ "context": "..",
7
+ "dockerfile": "Dockerfile"
8
+ },
9
+ "features": {
10
+ "ghcr.io/devcontainers/features/node:1": {
11
+ "nodeGypDependencies": true,
12
+ "version": "lts"
13
+ },
14
+ "ghcr.io/devcontainers-contrib/features/npm-package:1": {
15
+ "package": "typescript",
16
+ "version": "latest"
17
+ },
18
+ "ghcr.io/devcontainers/features/docker-in-docker:2": {
19
+ "moby": true,
20
+ "azureDnsAutoDetection": true,
21
+ "installDockerBuildx": true,
22
+ "version": "latest",
23
+ "dockerDashComposeVersion": "v2"
24
+ }
25
+ },
26
+ "customizations": {
27
+ "vscode": {
28
+ "extensions": [
29
+ "ms-python.pylint",
30
+ "GitHub.copilot",
31
+ "ms-python.python"
32
+ ]
33
+ }
34
+ },
35
+ "postStartCommand": "./.devcontainer/post_start_command.sh",
36
+ "postCreateCommand": "./.devcontainer/post_create_command.sh"
37
+
38
+ // Features to add to the dev container. More info: https://containers.dev/features.
39
+ // "features": {},
40
+
41
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
42
+ // "forwardPorts": [],
43
+
44
+ // Use 'postCreateCommand' to run commands after the container is created.
45
+ // "postCreateCommand": "python --version",
46
+
47
+ // Configure tool-specific properties.
48
+ // "customizations": {},
49
+
50
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
51
+ // "remoteUser": "root"
52
+ }