File size: 734 Bytes
5d924ac
 
 
 
 
 
 
 
 
 
 
ac35357
 
 
 
 
5d924ac
 
 
 
 
 
 
 
 
 
 
 
 
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
27
28
29
30
{
    // The name of the dev container
    "name": "Focal",

    // The Dockerfile to use for building the dev container
    "dockerFile": "../Dockerfile",

    // This is the key setting to prevent VS Code from overriding your CMD.
    // Setting it to 'false' ensures your Dockerfile's CMD command is respected.
    "overrideCommand": false,

    "runArgs": [
        "--env-file",
        ".env"
    ],

    // Any ports to forward from the container to your local machine
    "forwardPorts": [7860],

    // Extensions to install in the container
    "customizations": {
        "vscode": {
            "extensions": [
                "ms-python.python",
                "ms-python.vscode-pylance"
            ]
        }
    }
}