Skip to content

Commit

Permalink
refactor: update devcontainer configuration for clarity
Browse files Browse the repository at this point in the history
Remove unnecessary INSTALL_GIT argument and set target to 
development in the devcontainer.json file. This simplifies 
the configuration and aligns it with the intended development 
environment setup.
  • Loading branch information
l-lumin committed Dec 22, 2024
1 parent ed53fde commit 66033a5
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,22 @@
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile",
"args": {
"INSTALL_GIT": "true"
}
"target": "development"
},

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
"features": {
"ghcr.io/devcontainers-extra/features/hatch:2": {}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"charliermarsh.ruff"
]
}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
Expand All @@ -28,5 +34,5 @@
// "customizations": {},

// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "root"
// "remoteUser": "root"
}

0 comments on commit 66033a5

Please sign in to comment.