Fix npm optional flags (remove deprecated config); bump add-on to 0.5.19

This commit is contained in:
root
2026-02-01 03:14:00 +02:00
parent 32d4536b44
commit 087a91555b
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -44,12 +44,10 @@ RUN set -eu; \
# Install OpenClaw globally
# IMPORTANT: OpenClaw declares some native packages as optionalDependencies.
# On HAOS/Alpine we want to skip them to avoid install-time native builds.
# On HAOS/Alpine we skip optional deps to avoid install-time native builds.
RUN npm config set fund false && npm config set audit false \
&& npm config set optional false \
&& npm config set omit optional \
&& NPM_CONFIG_OPTIONAL=false NPM_CONFIG_OMIT=optional \
npm install -g --omit=optional --no-optional openclaw@2026.1.30
&& NPM_CONFIG_OMIT=optional npm install -g --omit=optional openclaw@2026.1.30
COPY run.sh /run.sh
COPY nginx.conf.tpl /etc/nginx/nginx.conf.tpl