🐳 Adding Dockerfile
This commit is contained in:
parent
f5a43c897c
commit
dc84422f69
13
Dockerfile
Normal file
13
Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user