I have below command to run my python file inside docker container:
docker run --rm --name=my_container --volume "/my_dir/:/host:z" myimage:latest python /host/api/my_file.py
I want to run it with VS code debug mode.
I tried looking at tutorials from VS code and Docker but most of the instructions are for Django/Flask and I don't understand how to modify it.