🐳 Adding Dockerfile

This commit is contained in:
Patrick Müller 2021-04-20 11:27:44 +02:00
parent f5a43c897c
commit dc84422f69

13
Dockerfile Normal file
View File

@ -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"]