I see that you are using the Docker image python:3.7 for the step you posted here.
Checking python's official image in Dockerhub, I can also see that there is an image with the tag 3.9 which uses Python version 3.9.10
You can view all available python Docker images with a tag that includes 3.9 in the link below, and choose the one that is suitable for you:
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.