Skip to content

Commit

Permalink
Merge pull request #10 from cowprotocol/Add-Devcontainer
Browse files Browse the repository at this point in the history
Add .devcontainer and update dockerfile
  • Loading branch information
bram-vdberg authored Jul 14, 2024
2 parents 4cf7b98 + 09dbace commit be93164
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{
"name": "Token Imbalances",
"build": {
"dockerfile": "../Dockerfile",
"context": ".."
},
"postCreateCommand": "python -m pip install -r requirements.txt",

"mounts": [
"source=${localEnv:HOME}/.ssh,target=/root/.ssh,type=bind,consistency=cached"
],

"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.mypy-type-checker"
],
"settings": {
"python.testing.pytestArgs": [
"."
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.formatting.provider": "black",
}
}
}
}

0 comments on commit be93164

Please sign in to comment.