Help with Dockerfile (Image for running Python file)

Hello

For this use, i.e. synchronize files during development, the easy way is to mount your current folder in your container.

If you are using “docker run” to create your container, use the “-v” flag like “-v $pwd:/.”.

If you are using Docker compose, see the “volumes:” entry in the yaml file.

By mounting files like that, changes made on your host will be synchronized (in both directions).