Merge pull request #1383 from uwuclxdy/copilot/fix-workflow-issue-1382

fix(docker): copy postinstallSupport.mjs before npm ci in Dockerfile
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-04-18 04:33:06 -03:00
committed by GitHub

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