Skip to content

Commit cdb81a5

Browse files
committed
ignore node_modules
1 parent cb8a0c6 commit cdb81a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pkg/cli/compose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func createTarballReader(ctx context.Context, root, dockerfile string) (*bytes.B
230230
"docker-compose.yml": true,
231231
"docker-compose.yaml": true,
232232
"Dockerfile": true, // overwritten below if specified
233-
// "node_modules": true,
233+
"node_modules": true,
234234
}
235235
ignore[filepath.Base(dockerfile)] = false // always include the Dockerfile because Kaniko needs it
236236
// dockerignore.ReadAll(root) TODO: use this from "github.com/moby/buildkit/frontend/dockerfile/dockerignore"

0 commit comments

Comments
 (0)