Skip to content

Commit 2f2a1b3

Browse files
author
allburov
committed
Use yarn
1 parent 0477cf7 commit 2f2a1b3

File tree

6 files changed

+8544
-32626
lines changed

6 files changed

+8544
-32626
lines changed

.yarnrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
network-timeout 60000

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ENV PUPPETEER_SKIP_DOWNLOAD=True
77
# npm packages
88
WORKDIR /src
99
COPY package.json .
10-
COPY package-lock.json .
11-
RUN npm install
10+
COPY yarn.lock .
11+
RUN yarn install
1212

1313
# App
1414
WORKDIR /src

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ update-swagger:
3535
wget http://localhost:3000/-json -O ./docs/site/static/swagger/openapi.json
3636

3737
update-dependencies:
38-
. ${NVM_DIR}/nvm.sh && nvm exec npm install venom-bot whatsapp-web.js --save
38+
. ${NVM_DIR}/nvm.sh && nvm exec yarn install venom-bot whatsapp-web.js --save

0 commit comments

Comments
 (0)