Commit 4a0872b
committed
Clean up cache files to reduce Docker image size
Remove unnecessary cache files and temporary data:
- Remove apt lists after package installation
- Use pip --no-cache-dir flag
Image size comparison:
```
REPOSITORY TAG IMAGE ID CREATED SIZE
scrapegraph-ai after 609a2ecf4678 20 minutes ago 3.1GB
scrapegraph-ai before e3093b782ab0 24 minutes ago 3.39GB
```
This reduced about 0.29GB image size by preventing cache files from
being included in the final image layers.1 parent 5a100fb commit 4a0872b
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
0 commit comments