FROM node:latest # Working dir RUN mkdir -p /usr/src/bot WORKDIR /usr/src/bot # Install bot COPY package.json /usr/src/bot RUN npm install COPY . /usr/src/bot/ # Start the bot CMD ["node", "index.js"]