Multiple duplicated process when running python inside a Docker Container

I’ve developed a Python program and I’m running it inside a docker. If I go to the docker console I only see a process but if I execute htop in the parent machine I see multiple processes of the same execution:

(htop parent machine left, process inside container right)

As you can see in the image, same happens with there are a lot of processes for the same python file.

Is this normal?

The DockerFile that I have created is the following:

FROM python:3.10
RUN apt update
COPY . .
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
RUN pip3 install -r requirements.txt

CMD [“python3”, “./”]

htop shows threads too by default not just processes. Press SHIFT+H to hide threads and show processes only.