images: add Pillow to the web extra so the API container downscales too
The on-demand /api/img path runs in the container (only fastapi+uvicorn), so without Pillow it fell back to caching the original full-size bytes instead of a downscaled WebP. Add Pillow>=10 to the web extra. The host cycle already had it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 95 KiB |
@@ -15,6 +15,7 @@ dependencies = []
|
||||
web = [
|
||||
"fastapi>=0.110",
|
||||
"uvicorn[standard]>=0.29",
|
||||
"Pillow>=10", # downscale/re-encode cached article images (goodnews/newsimg.py)
|
||||
]
|
||||
test = [
|
||||
"pytest>=8",
|
||||
|
||||
Reference in New Issue
Block a user