Write A Lean Dockerignore

Use when `docker build` sends a multi-GB context or a secret file lands in the image. Writes a .dockerignore that trims the build context and keeps .git, env files and build output out of layers.

jiayaoqijia Updated 81 repo stars

File contents

jiayaoqijia/cryptoskill commit a307aecad6

Frequently asked questions

npx get-skill add jiayaoqijia/write-a-lean-dockerignore