A sample dev container that allows VSCode to create a python environment in a Docker container and installs any prerequisites in requirements.txt.
- Install Prerequisites:
- Open Project in VS Code:
- Open your project folder in VS Code.
- Reopen in Container:
- Press
F1, then selectDev Containers: Reopen in Container. - VS Code will build the container and reopen the project inside it.
- Press
- Start Developing:
- Use the integrated terminal to run Python commands.
- Edit and run your Python scripts as needed.