Update docker-compose to use node:18-alpine image
This commit is contained in:
1 parent
363a93845a
commit
369837ae3a
1 file changed
+5
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user