The corresponding article can be found here.
Dockerignore Example serves to show how .dockerignore files work and the benefits of using them, along with various examples.
- docker
- docker-compose
- make
Clone the repo
git clone git@github.com:starlightromero/dockerignore-example.gitcd into the directory
cd dockerignore-exampleRun the application!
build-dev: Build dockerignore-example dev app
start-dev: Start dockerignore-example dev app
stop-dev: Stop dockerignore-example dev app
build-prod: Build dockerignore-example prod app
start-prod: Start dockerignore-example prod app
stop-prod: Stop dockerignore-example prod app