File size: 2,385 Bytes
a5883c9
 
 
 
2debb96
 
 
a5883c9
 
 
 
 
 
 
 
 
 
 
 
 
c6d9110
a5883c9
 
 
 
 
 
 
 
 
 
 
 
 
 
c2e4879
 
a5883c9
 
c6d9110
a5883c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
    "name": "resume-maker-ai-agent",
    // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
    "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
    // "build": {
    //     "dockerfile": "Dockerfile"
    // },
    "features": {
        "ghcr.io/devcontainers/features/python:1": {
            "version": "3.12"
        },
        "ghcr.io/devcontainers/features/git:1": {},
        "ghcr.io/devcontainers-contrib/features/poetry:2": {},
        "ghcr.io/devcontainers/features/docker-in-docker:2.12.0": {
            "version": "latest",
            "moby": true
        }
    },
    // Use 'postCreateCommand' to run commands after the container is created.
    "postCreateCommand": "./.devcontainer/postCreateCommand.sh",
    "forwardPorts": [7860, 8000],
    // Configure tool-specific properties.
    "customizations": {
        "vscode": {
            "extensions": [
                "ms-python.python",
                "editorconfig.editorconfig",
                "ms-azuretools.vscode-docker", // Docker
                "ms-python.isort", // isort
                "visualstudioexptteam.vscodeintellicode", // IntelliCode
                "codeium.codeium", // Codeium AI
                "ms-vscode.makefile-tools", // Makefile tool
                "ms-python.python", // Python
                "ms-python.black-formatter", // Black
                "ms-python.debugpy", // Debugger for Python
                "redhat.vscode-yaml", // YAML
                "tamasfe.even-better-toml" // TOML
            ],
            "settings": {
                "python.testing.pytestArgs": ["tests"],
                "python.testing.unittestEnabled": false,
                "python.testing.pytestEnabled": true,
                "python.defaultInterpreterPath": "/workspaces/resume-maker-ai-agent/.venv/bin/python",
                "python.testing.pytestPath": "/workspaces/resume-maker-ai-agent/.venv/bin/pytest",
                "python.languageServer": "Pylance",
                "editor.formatOnSave": true,
                "python.analysis.typeCheckingMode": "basic",
                "python.linting.enabled": true,
                "python.linting.pylintEnabled": true
            }
        }
    } //,
    // "hostRequirements": {
    //     "cpus": 2,
    //     "memory": "4gb",
    //     "storage": "10gb"
    // }
}