feat(*): Add dockerfile

This commit is contained in:
2020-10-26 00:04:54 +00:00
parent 582e5f63ab
commit 7385936638
+15
View File
@@ -0,0 +1,15 @@
FROM node:latest
# Create the directory
RUN mkdir -p /usr/src/bot
WORKDIR /usr/src/bot
# Copy the package.json and install the packages
COPY package.json /usr/src/bot
RUN npm install
# Copy the bot itself
COPY . /usr/src/bot
# Start the bot
CMD ["node", "index.js"]