feat: Dockerfile
This commit is contained in:
1 parent
7309779923
commit
88b9b5b8c6
1 file changed
+13
+13
@@ -0,0 +1,13 @@
|
|||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
# Working dir
|
||||||
|
RUN mkdir -p /usr/src/bot
|
||||||
|
WORKDIR /usr/src/bot
|
||||||
|
|
||||||
|
# Install bot
|
||||||
|
COPY package.json /usr/src/bot
|
||||||
|
RUN npm install
|
||||||
|
COPY . /usr/src/bot/
|
||||||
|
|
||||||
|
# Start the bot
|
||||||
|
CMD ["node", "index.js"]
|
||||||
Reference in new issue
Block a user