| 123456789101112131415 |
- # syntax=docker/dockerfile:1.7
- # DSV4.1-1017 SGLang image — Aiden's production-1.7.1 with the 1017 protocol
- # patch baked at build time (the glm52 pattern: engine-code patches belong in
- # the image, never in per-node hand copies or runtime file surgery).
- #
- # The patch aligns the DSV4.1 chat encoder's reasoning-effort tier ladder with
- # the DeepSeek-V4.1-Flash-1017 reference encoder (25/50/75 -> 50/75/100, xhigh
- # dropped); see patch_dsv41_effort.py — it is idempotent and refuses to patch
- # an encoder whose anchor does not match.
- ARG BASE_IMAGE
- FROM ${BASE_IMAGE}
- COPY patch_dsv41_effort.py /tmp/patch_dsv41_effort.py
- RUN python3 /tmp/patch_dsv41_effort.py && rm /tmp/patch_dsv41_effort.py
|