Template that would allow you run python scripts.
This includes:
- Dockerfile
- Makefile
- src folder
- Base logging config
- Base lint config
- Base secrets configuration
- Run
make build
to have a base image - Replace all the "replace_me" with the correct values.
- Add dependencies to the
pyproject.toml
- Run
make lock-dependencies
to re build the image - Yoy can use the
make terinal
to use a terminal inside the container
make test
would run all the test on the tests foldermake debug test_dir=tests/{file_name}::{test_name}
would allow you to run specific test or files with testmake lint
would runpylint
to find improvements on your codemake black
to runblack
and formate your code