14 lines
229 B
Docker
14 lines
229 B
Docker
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"]
|