Create compose.yml

This commit is contained in:
drifty
2025-01-16 12:46:25 +05:30
committed by GitHub
parent e5e03cf2dd
commit 843343e7c3

View File

@@ -0,0 +1,15 @@
version: '3'
services:
hoyolab_bot:
container_name: hoyolab_bot
image: driftywinds/hoyocheckin:latest
# build:
# context: .
# dockerfile: Dockerfile
env_file:
- .env
volumes:
- ./app:/usr/src/app
- /usr/src/app/node_modules
- ./data:/app/data
command: sh -c "npm install && npm run build && node dist/bot.js"