Skip to content

Commit 3b4adfb

Browse files
authored
Merge pull request microsoft#163 from microsoft/Devcontainer
DevContainer Setup fix
2 parents 7d96b5b + 16d5e85 commit 3b4adfb

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.devcontainer/Setup.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This file will use the official Python image as the base image for the
2+
development container. It will also install some VS Code extensions for Python development,
3+
such as the Python extension and the Jupyter.
4+
5+
Finally, it will run the command pip install -r requirements.txt after the container is
6+
created, which will install all the Python libraries listed in the requirements.txt file.
7+
You can learn more about how to create and use dev containers in VS Code from this link or this link.
8+
I hope this helps you with your project http://code.visualstudio.com?WT.mc_id=academic-105485-koreyst

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"extensions": [
1818
"ms-python.python",
1919
"ms-toolsai.jupyter"
20-
]
20+
],
21+
"postCreateCommand": "pip install -r requirements.txt"
2122
}
2223
}
2324
}
File renamed without changes.

0 commit comments

Comments
 (0)