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:
@@ -28,9 +28,6 @@ RUN ln -sf /data/reports /app/reports
|
||||
# Runtime env
|
||||
ENV PORT=3132 \
|
||||
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
|
||||
|
||||
EXPOSE 3132
|
||||
|
||||
Reference in New Issue
Block a user