feat: replace Lanyard with dk0 Sentinel Discord bot, make music link clickable
This commit is contained in:
17
discord-presence-bot/Dockerfile
Normal file
17
discord-presence-bot/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM node:25-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm ci --only=production && npm cache clean --force
|
||||
|
||||
COPY index.js .
|
||||
|
||||
USER node
|
||||
|
||||
EXPOSE 3001
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=3 \
|
||||
CMD wget -qO- http://localhost:3001/presence || exit 1
|
||||
|
||||
CMD ["node", "index.js"]
|
||||
Reference in New Issue
Block a user