fix(docker): copy postinstallSupport.mjs before npm ci in Dockerfile

Agent-Logs-Url: https://github.com/uwuclxdy/OmniRoute/sessions/cb9cd4a9-4f1e-4201-8327-a26c0f2c87d0

Co-authored-by: uwuclxdy <37777261+uwuclxdy@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-18 07:19:58 +00:00
committed by GitHub
parent 4734d53322
commit 6d9ba007e5

View File

@@ -7,6 +7,7 @@ RUN apt-get update \
COPY package*.json ./
COPY scripts/postinstall.mjs ./scripts/postinstall.mjs
COPY scripts/postinstallSupport.mjs ./scripts/postinstallSupport.mjs
COPY scripts/native-binary-compat.mjs ./scripts/native-binary-compat.mjs
RUN if [ -f package-lock.json ]; then npm ci --no-audit --no-fund; else npm install --no-audit --no-fund; fi