~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
17 lines · 703 B Raw History
# The reference PDS as the benchmark runs it (bench/README.md): dev-env's
# TestPds from the harness's own packages, pinned by
# harness/package-lock.json, on the Node of .node-version, started by
# harness/bench-reference.mjs. Built by `node bench.mjs --setup` with
# harness/ as its context:
#
#   docker build -t monolith-bench-reference:local -f bench/docker/reference.Dockerfile harness
#
# The image also answers the benchmark's client ceiling (bench.mjs), with
# its node and another entrypoint.
FROM node:24.22.1-trixie-slim
WORKDIR /bench
COPY package.json package-lock.json ./
RUN npm ci --no-audit --no-fund
COPY bench-reference.mjs ./
VOLUME /data
ENTRYPOINT ["node", "bench-reference.mjs"]