Skip to content

Commit 2bf8ae8

Browse files
committed
ci: fix npm install
1 parent 793b3e6 commit 2bf8ae8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ ARG USE_EDGE=false
1414
COPY package*.json ./
1515

1616
RUN if [ "$USE_EDGE" = "true" ]; then \
17-
npm install --save-exact --omit=dev --ignore-scripts github:pedroslopez/whatsapp-web.js#main; \
17+
npm ci --only=production --ignore-scripts && \
18+
npm install --save-exact github:pedroslopez/whatsapp-web.js#main; \
1819
else \
1920
npm ci --only=production --ignore-scripts; \
2021
fi

0 commit comments

Comments
 (0)