fix: remove hardcoded SITESPEED_BIN, let which sitespeed.io resolve path

The path /usr/local/lib/node_modules/... does not exist in the image.
runner.js already falls back to `which sitespeed.io` automatically.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 20:01:36 +02:00
parent 8276f8896d
commit 68712b63fa

View File

@@ -28,9 +28,6 @@ RUN ln -sf /data/reports /app/reports
# Runtime env # Runtime env
ENV PORT=3132 \ ENV PORT=3132 \
IN_DOCKER=1 \ IN_DOCKER=1 \
# sitespeed.io is already installed at /usr/local/lib/node_modules/sitespeed.io/bin/sitespeed.js
# but we ship our own copy — point to the bundled one inside image
SITESPEED_BIN=/usr/local/lib/node_modules/sitespeed.io/bin/sitespeed.js \
NODE_ENV=production NODE_ENV=production
EXPOSE 3132 EXPOSE 3132