Base Docker images
Use one of the TNA base Docker Python images which provide you with consistent Docker images of all your applications.
These base images:
- extend the official Python images
- include common tools used within TNA (Poetry, nvm, Gunicorn, Uvicorn)
- don't run as the
root
user - are built for use on both
amd64
andarm64
architectures - work with the Python frameworks used within TNA (Flask, Django and FastAPI)
- contain healthcheck definitons
- work for a number of preset environments
- can be customised in terms of their thread counts, worker numbers, log levels etc.
- can build any NodeJS assets as part of their build process
- are linted with hadolint and shellcheck
- can start up development NodeJS scripts to build assets in the background