The simplest way of adding ads.txt is to add it to your current ghost web theme.
Login to your docker image:
docker run -ti docker_id /bin/bash or
kubectl exec -ti pod_name /bin/bash and navigate to folder:
Create ads.txt file with CAT only command:
cat > ads.txt [ENTER]
Paste in your content and press Ctrl+d to store the file.