TypeScript, Lerna, and .dockerignore

from blog Alex W.'s Blog, | ↗ original
This approach ignores everything by default and then whitelists what’s permitted. Or at least it takes that approach for the top-level directory but has to explicitly restrict nested directories because exception statements don’t support wildcard directories. * !package.json !yarn.lock !lerna.json !tsconfig* !packages/ packages/*/dist/...