From dc84422f69da43ef5c9cafcfc1e380d76137a8aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCller?= Date: Tue, 20 Apr 2021 11:27:44 +0200 Subject: [PATCH] :whale: Adding Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3183ce5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:14.16.0 + +RUN mkdir /workdir +ADD bot.js /workdir/bot.js +ADD package.json /workdir/package.json +ADD package-lock.json /workdir/package-lock.json +ADD .env /workdir/.env + +WORKDIR /workdir + +RUN npm i + +CMD ["node", "bot.js"]