Docker not updating changes in directory
In your docker file, you are using
COPY . .
This mean that, when you build your docker, you copy your current folder to the default folder of your container. Probably /root
But this copy isn't executed every time you RUN the container or START it, it's only when you BUILD.
To be able to see every change you make in real time without re BUILD, you need to create a volume, wich will be a link between your host and your container. Every content changing on the host or the container will be shared to the other.
Note that in your dockerfile, declaring a VOLUME won't actually change anything, it's just an information. To actually make a volume you need to add -v /host/path:/container/path in your docker run command line.