+ add dockerfile

master
io42630 3 years ago
parent 3f33089923
commit 7dd54064a7

@ -0,0 +1,7 @@
FROM node:16.15-buster-slim
WORKDIR /app
COPY . /app
RUN npm install && npm install -g tsc --force && npm install -g typescript --force
RUN tsc -b
CMD npm run start
EXPOSE 8081

@ -36,8 +36,7 @@
### How To Run
* enter API-keys into `keys-template.json`, then rename to `keys.json`.
* `npm run build / start`
* in Telegram : add bot > enable inline > /start > use via inline.
* see `Dockerfile`
### Special Thanks

@ -8,12 +8,12 @@
"serve": "node dist/bot-adapter.js"
},
"dependencies": {
"@types/node": "^18.0.0",
"@types/node-telegram-bot-api": "^0.57.0",
"deepl-node": "^1.3.1",
"node-telegram-bot-api": "^0.57.0",
"tsc": "^2.0.4",
"tslib": "^2.4.0",
"typescript": "^4.7.4",
"@types/node": "^18.0.0",
"@types/node-telegram-bot-api" : "^0.57.0"
"typescript": "^4.7.4"
}
}

Loading…
Cancel
Save