Merge pull request #374 from taniasanz7/patch-19-dockerignore-nested-build-outputs
fix: .dockerignore excludes nested build outputs (apps/*/dist, .next, .turbo, etc.)
This commit is contained in:
+13
-4
@@ -1,13 +1,22 @@
|
|||||||
# Dependencies
|
# Dependencies
|
||||||
node_modules
|
node_modules
|
||||||
|
**/node_modules
|
||||||
.pnp
|
.pnp
|
||||||
.pnp.js
|
.pnp.js
|
||||||
|
|
||||||
# Build outputs
|
# Build outputs
|
||||||
dist
|
# Patterns without a leading `**/` only match the build-context root, NOT
|
||||||
.next
|
# nested directories. In this monorepo the actual outputs live under
|
||||||
.turbo
|
# apps/*/{dist,.next,.turbo} and packages/*/{dist,.turbo}; without `**/`
|
||||||
out
|
# any stale local builds (from running `yarn dev` or `yarn build` on the
|
||||||
|
# host) get copied into the image and override the freshly-built outputs,
|
||||||
|
# producing silently broken builds (MODULE_NOT_FOUND for whatever the stale
|
||||||
|
# bundle still references).
|
||||||
|
**/dist
|
||||||
|
**/.next
|
||||||
|
**/.turbo
|
||||||
|
**/build
|
||||||
|
**/out
|
||||||
|
|
||||||
# Development
|
# Development
|
||||||
.env
|
.env
|
||||||
|
|||||||
Reference in New Issue
Block a user