Docker to Git
There are a few different strategies for combining Docker and Git:
1. Dockerfile in Git repository
The simplest approach is to store the Dockerfile directly in the Git repository, along with the rest of the application code:
ProjectFolder/
.git/
...
nikitshrest.hashnode.dev2 min read