Update docker-compose to use node:18-alpine image

This commit is contained in:
MisticDruid authored and GitHub committed 2025-11-30 13:30:23 +01:00
1 parent 363a93845a
commit 369837ae3a
1 file changed
+5 -1
+5 -1
View File
@@ -2,9 +2,13 @@ version: '3.8'
services:
uptime-bot:
build: .
image: node:18-alpine
container_name: uptime-bot
restart: unless-stopped
working_dir: /app
command: sh -c "npm install && node bot.js"
volumes:
- ./:/app
environment:
- ROCKETCHAT_URL=${ROCKETCHAT_URL:-rocketchat:3000}
- ROCKETCHAT_USE_SSL=${ROCKETCHAT_USE_SSL:-false}