add dockerfile
This commit is contained in:
parent
28a8829128
commit
04d68b823f
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM node:20-alpine
|
||||||
|
WORKDIR /app
|
||||||
|
COPY . .
|
||||||
|
RUN npm install
|
||||||
|
CMD "node" "main.js"
|
7
compose.yml
Normal file
7
compose.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
services:
|
||||||
|
bot:
|
||||||
|
build: .
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ./lastProcessedPostId.txt:/app/lastProcessedPostId.txt
|
||||||
|
- ./.env:/app/.env
|
Loading…
Reference in New Issue
Block a user