You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
307 B
YAML
13 lines
307 B
YAML
4 years ago
|
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'
|