feat: Dockerfile
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -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