refactor: update Dockerfile and entrypoint script to use REQUEST_TIMEOUT; improve variable naming in mcpService

This commit is contained in:
samanhappy
2025-04-09 16:36:53 +08:00
parent b1d8b1a825
commit 244f900035
4 changed files with 19 additions and 11 deletions

View File

@@ -1,6 +1,9 @@
#!/bin/sh
#!/bin/bash
NPM_REGISTRY=${NPM_REGISTRY:-https://registry.npmjs.org/}
echo "Setting npm registry to ${NPM_REGISTRY}"
npm config set registry "$NPM_REGISTRY"
echo "Using REQUEST_TIMEOUT: $REQUEST_TIMEOUT"
exec "$@"