Skip to content

Commit 3faf15d

Browse files
committed
chore: update dockerfile
1 parent 6d06861 commit 3faf15d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ lsb-release wget xdg-utils
1313

1414
RUN npm install
1515
RUN node node_modules/puppeteer/install.js
16+
RUN npm run generate
1617
CMD npm start

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"start": "ts-node src/index.ts",
7+
"generate": "prisma generate",
78
"studio": "prisma studio",
89
"docker:build": "docker build -t sydney-whatsapp-chatbot .",
910
"docker:run": "docker run -it -d --name sydney-whatsapp-chatbot sydney-whatsapp-chatbot",

0 commit comments

Comments
 (0)