diff --git a/CHANGELOG.md b/CHANGELOG.md index cc6466c..af94327 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to llm-relay are documented here. ## [Unreleased] +### Fixed +- **Docker image build** (`Dockerfile`): removed the unconditional + `COPY vendor/tokpress /tmp/tokpress` + `pip install` step. The vendor + source is kept outside the repository, so the COPY always failed in + GitHub Actions and the Docker workflow has been broken on every tag + since `v0.9.2`. The proxy already imports `tokpress` inside a + `try/except ImportError` guard, so the image runs unchanged when the + package is absent (`_tokpress_available` simply stays `False`). The + v0.9.5 image is rebuilt via `gh workflow run docker.yml -f tag=0.9.5` + after this change lands on `main`. + ## [0.9.5] - 2026-05-21 > Hotfix release surfaced by dogfooding `verify install` and `--help` on a diff --git a/Dockerfile b/Dockerfile index 1b4aa1a..796fb89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,11 @@ WORKDIR /app # Install build deps RUN pip install --no-cache-dir hatchling -# Install tokpress (from vendored copy) -COPY vendor/tokpress /tmp/tokpress -RUN pip install --no-cache-dir /tmp/tokpress && rm -rf /tmp/tokpress +# tokpress is an optional compression layer the proxy will use if it can +# import it at runtime (see src/llm_relay/proxy/proxy.py -- ImportError +# is caught and the feature simply stays disabled). Its sources live +# outside this repository, so the Docker image ships without it; nothing +# else in the proxy depends on it. # Install llm-relay dependencies COPY pyproject.toml README.md ./