From 7385936638666b2429ec5195aad98c0a818a1e92 Mon Sep 17 00:00:00 2001 From: Josh Creek Date: Mon, 26 Oct 2020 00:04:54 +0000 Subject: [PATCH] feat(*): Add dockerfile --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4baad9f --- /dev/null +++ b/Dockerfile @@ -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"]