Use python 3.8 for docker build
This MR updates the write_dockerfile.py
script to use Python 3.8. This should probably have been included as part of !644 (merged), but I missed it.
I would use Python 3.9, but have a fear that it will fail because of p_astro
, so maybe we could bump to that after !643 (merged) is merged.