Add a Dockerfile and instructions for running with Docker/Podman
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM node:24-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY bot.js ./
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm install --omit=dev
|
||||
|
||||
CMD ["node", "bot.js"]
|
||||
Reference in New Issue
Block a user