File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 11# Default base image for standalone builds. For addons, this is overridden by build.yaml.
22ARG BUILD_FROM=nikolaik/python-nodejs:python3.12-nodejs23
3- ARG NODE_VERSION=23 # Default Node.js version for addon OS setup
3+ ARG NODE_VERSION=22 # Default Node.js version for addon OS setup
44
55FROM $BUILD_FROM AS base
66
@@ -52,12 +52,9 @@ RUN if echo "$BUILD_FROM" | grep -q "home-assistant"; then \
5252 mkdir -p /tmp/uv_test && uv venv /tmp/uv_test && rm -rf /tmp/uv_test && \
5353 # Install specific Node.js version for addon
5454 echo "Installing Node.js v${NODE_VERSION} for addon..." && \
55- # curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && \
56- # Ensure Node.js and npm are installed if using this path.
57- # The line below was `sudo apt-get install -y nodejs npm`.
58- # `sudo` is generally not available or needed in Dockerfiles.
59- # Also, `apt-get update` should precede `apt-get install`.
60- apt-get update && apt-get install -y nodejs npm && \
55+ curl -fsSL "https://deb.nodesource.com/setup_${NODE_VERSION}.x" -o nodesource_setup.sh && \
56+ bash nodesource_setup.sh && \
57+ apt-get update && apt-get install -y nodejs && \
6158 # S6-Overlay is assumed to be part of the Home Assistant base image.
6259 # Cleanup for addon OS setup
6360 echo "Cleaning up apt cache for addon OS setup..." && \
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ schema:
3535image : " ghcr.io/ptbsare/home-assistant-addons/{arch}-addon-mcp-proxy-server" # Version will be appended by build
3636startup : application
3737boot : auto
38- webui : " http://[HOST]:[PORT:3663]/"
38+ webui : " http://[HOST]:[PORT:3663]/admin "
3939ingress : true
4040panel_icon : " mdi:server-network-outline"
4141panel_title : " MCP Proxy Server"
You can’t perform that action at this time.
0 commit comments