Skip to content

Commit

Permalink
Add devcontainer configuration for CPU environment
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorshed committed Dec 6, 2023
1 parent a4bec9b commit d8b5976
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .devcontainer/cpu/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "EEG-ExPy-CPU",
"image": "mcr.microsoft.com/devcontainers/python:3.7",

"customizations": {
"vscode": {
"extensions": [
"ms-python.python"
],
"settings": {
"python.pythonPath": "/usr/local/bin/python"
}
}
},

"forwardPorts": [
8000,
8888,
5000,
6000
],
// print the python version:
"postCreateCommand": "python --version && pip install -r requirements.txt && pip install -e . && echo 'Dependencies installed'",
"appPort": 8000

}

0 comments on commit d8b5976

Please sign in to comment.