From the textbook you are pointing to - statement
ADD requirements.txt /code/copies a requirements.txtfile from your current directory on the host to the directory /code/inside the container. When the command is executed docker-compose run, it first creates a container into which it loads the file "requirements.txt" into it.
, , , compose. requirements.txt.