A development container (or dev container for short) allows you to use a container as a full-featured development environment. It can be used to run an application, to separate tools, libraries, or runtimes needed for working with a codebase, and to aid in continuous integration and testing. Dev containers can be run locally or remotely, in a private or public cloud, in a variety of supporting tools and editors.
- Visual Studio Code
- Docker
- Python
- Setup virtual environment
python3 -m venv .venv- Activate virtual environment
source .venv/bin/activate- Install dependencies
pip install -r requirements.txt- Install pre-commit hooks
pre-commit install- Run the app
uvicorn app.main:app --reload --port 8181