Skip to content
Andrew Hosgood edited this page Oct 14, 2024 · 11 revisions

National Archives Base Docker Images

The National Archives base Docker images are designed to serve as a starting point for all containerised applications in The National Archives.

There are three main flavours of image:

  • tna-python
  • tna-python-django
  • tna-python-dev

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
  • 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
Clone this wiki locally