Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 1bf69ac

Browse files
committed
update later stack file contents
1 parent 769a0f5 commit 1bf69ac

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docs/guides/python/ai-podcast-part-1.mdx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,10 +556,19 @@ We'll also add a dockerignore file to try and keep the image size down.
556556
.model/
557557
```
558558

559+
We'll also need to update the `python.dockerfile` to ignore the `.model` directory.
560+
561+
```gitignore title: python.dockerfile.dockerignore
562+
.mypy_cache/
563+
.nitric/
564+
.venv/
565+
.model/
566+
```
567+
559568
Let's also update the `nitric.yaml` to add the new dockerfile to our runtimes.
560569

561570
```yaml title: nitric.yaml
562-
name: podcast-ai
571+
name: ai-podcast
563572
services:
564573
- match: services/*.py
565574
start: pipenv run dev $SERVICE_PATH
@@ -572,10 +581,8 @@ batch-services:
572581
runtimes:
573582
python:
574583
dockerfile: './python.dockerfile'
575-
args: {}
576584
torch:
577585
dockerfile: './torch.dockerfile'
578-
args: {}
579586

580587
preview:
581588
- batch-services

0 commit comments

Comments
 (0)