ci: fix npm install
This commit is contained in:
parent
793b3e63dd
commit
2bf8ae8993
1 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ ARG USE_EDGE=false
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
RUN if [ "$USE_EDGE" = "true" ]; then \
|
RUN if [ "$USE_EDGE" = "true" ]; then \
|
||||||
npm install --save-exact --omit=dev --ignore-scripts github:pedroslopez/whatsapp-web.js#main; \
|
npm ci --only=production --ignore-scripts && \
|
||||||
|
npm install --save-exact github:pedroslopez/whatsapp-web.js#main; \
|
||||||
else \
|
else \
|
||||||
npm ci --only=production --ignore-scripts; \
|
npm ci --only=production --ignore-scripts; \
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue