add docker-compose
parent
81c437ce16
commit
baf1e2cc48
@ -1 +1,2 @@
|
|||||||
./accessToken.json*
|
./accessToken.json*
|
||||||
|
node_app/media
|
@ -0,0 +1,13 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
node:
|
||||||
|
image: node
|
||||||
|
container_name: mastodon_meme_bot
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./node_app/:/home/node/app/
|
||||||
|
- ./node_logs/:/var/log/
|
||||||
|
working_dir: /home/node/app/
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=production
|
||||||
|
command: sh -c 'npm i && nodejs main.js'
|
Loading…
Reference in New Issue