File size: 933 Bytes
f38f2fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b6429d8
 
 
 
f38f2fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
	"name": "Python3 Smolagent",
	"image": "mcr.microsoft.com/devcontainers/python:0-3.11",
	"onCreateCommand": "pip3 install --upgrade pip && pip3 install --user -r requirements.txt",
	"customizations": {
	  "vscode": {
		"settings": {"jupyter.kernels.excludePythonEnvironments": ["/usr/bin/python3"]},
		"extensions": [
		  "-dbaeumer.vscode-eslint",
		  "ms-python.python",
		  "streetsidesoftware.code-spell-checker"
		]
	  }
	},

	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	// "forwardPorts": [],

	// Use 'postCreateCommand' to run commands after the container is created.
	//"postCreateCommand": "",

	// Use 'postAttachCommand' to run commands after the container is started.
	"postAttachCommand": "python app.py"
}