1
0
Fork 0
timelinize/tlzapp/python/server/pyproject.toml
Sergio Rubio e30a5cd46d
Dockerfile fixes (#151)
* Dockerfile fixes

Significantly improves running Timelinize in Docker.

* Modernize Debian (Trixie upgrade)
* Fix Python version to avoid pytorch compat issues
* Install uv required for semantic features
* Exposes cache volumes to avoid repeated large artifacts downloads

Recommended running as:

docker run -v timelinize-cache:/app/.cache \
           -v timelinize-local:/app/.local \
           -v timelinize-repo:/repo \
           -v timelinize-config:/app/.config/timelinize \
           -p 12001:12002 timelinize

* Add missing libheif plugins

Fixes thumbnail generation.

* Fix DNG thumbnail generation

* Replace / in ref names

Fixes release builds

* Fix also macos builds
2025-10-15 13:51:56 -06:00

17 lines
419 B
TOML
Executable file

[project]
name = "python-server"
version = "0.1.0"
description = "Facilitates functionality better provided by Python libraries"
requires-python = "~=3.13.0"
dependencies = [
"accelerate>=1.10.1",
"flask>=3.0.3",
"pillow>=10.4.0",
"pillow-heif>=1.1.0",
"protobuf>=5.28.2",
"requests>=2.32.3",
"sqlite-vec>=0.1.6",
"torch>=2.4.1",
"torchvision>=0.21.0",
"transformers>=4.51.2",
]