Skip to content

Commit 5326062

Browse files
committed
file ignore patterns rename
1 parent 534825e commit 5326062

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template/customization/base-image.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ When creating a template, you can specify options:
1313
```typescript
1414
const template = Template({
1515
fileContextPath: ".", // Custom file context path
16-
ignoreFilePatterns: [".git", "node_modules"], // File patterns to ignore
16+
fileIgnorePatterns: [".git", "node_modules"], // File patterns to ignore
1717
});
1818
```
1919

2020
```python
2121
template = Template(
2222
file_context_path=".", # Custom file context path
23-
ignore_file_patterns=[".git", "node_modules"], # File patterns to ignore
23+
file_ignore_patterns=[".git", "node_modules"], # File patterns to ignore
2424
)
2525
```
2626

2727
</CodeGroup>
2828

29-
**File ignoring**: The SDK automatically reads `.dockerignore` files and combines them with your `ignoreFilePatterns`. Files matching these patterns are excluded from uploads and hash calculations.
29+
**File ignoring**: The SDK automatically reads `.dockerignore` files and combines them with your `fileIgnorePatterns` (TypeScript) or `file_ignore_patterns` (Python). Files matching these patterns are excluded from uploads and hash calculations.
3030

3131
## Defining base image
3232
Choose from predefined base images or use custom ones:

0 commit comments

Comments
 (0)