Dockerfile 701 B

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