python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python3 src/entries/helloapp.py
python3 src/entries/env.py
python3 src/entries/cwd.py -c ..
python3 src/entries/secrets.py -A
python3 src/entries/logging_sensitive.py
pip install ipykernel
Execute the different cells in interactive/py1.py
and interactive/py2.py
export TAG=helloapp1:local-test
docker build -t $TAG .
Sample commands:
docker run $TAG bash -c "python entries/helloapp.py"
docker run -v $PWD/secrets-store:/app/secrets-store $TAG bash -c "python entries/secrets.py -A"
docker run -v $PWD/secrets-store:/app/secrets-store -t -i --rm $TAG bash