add npm i for ci

Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
Simon Smith
2025-10-26 23:31:28 +00:00
parent dec288d3c4
commit 95c7550098

View File

@@ -50,10 +50,10 @@ RUN apk update && \
bash gcc g++ make nodejs jq npm python3 tzdata
COPY --from=builder /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
WORKDIR /opt/meshcentral
WORKDIR /opt/meshcentral/meshcentral
RUN jq '.dependencies += {"modern-syslog": "1.2.0", "telegram": "2.26.22"}' meshcentral/package.json > temp.json && mv temp.json meshcentral/package.json \
# && npm i --package-lock-only \
RUN jq '.dependencies += {"modern-syslog": "1.2.0", "telegram": "2.26.22"}' package.json > temp.json && mv temp.json package.json \
&& npm i --package-lock-only \
&& npm ci
### STAGE 3 RUNTIME