+
RUN - command triggers while we build the docker image. A Dockerfile can have many RUN steps that layer on top of one another to build the image.
CMD - command triggers while we launch the created docker image.
ref:
- https://stackoverflow.com/questions/37461868/difference-between-run-and-cmd-in-a-dockerfile
- https://www.youtube.com/watch?v=i7ABlHngi1Q (VVIII ********* to understand the docker)
- https://www.google.com/amp/s/www.freecodecamp.org/news/how-to-enable-live-reload-on-docker-based-applications/amp/ (VVI *********** during development )

No comments:
Post a Comment