Skip to content

starlightromero/dockerignore-example

Repository files navigation

Dockerignore Example

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.

Software Required

  • docker
  • docker-compose
  • make

How to Run

Clone the repo

git clone git@github.com:starlightromero/dockerignore-example.git

cd into the directory

cd dockerignore-example

Run the application!

Makefile Commands

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