aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..44c3d57
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,16 @@
+FROM node:latest
+
+WORKDIR /usr/src/bot
+
+RUN apt-get update && apt-get install -y build-essential libtool autoconf automake python3
+
+COPY package.json ./
+
+COPY yarn.lock ./
+
+RUN yarn install
+
+COPY . .
+
+ENTRYPOINT ["node", "bot_discord.js"]
+