chore: dockerfile build from outside code dir

This commit is contained in:
2024-01-12 21:02:22 -05:00
parent ed3a533e6d
commit e0e2780c40

12
Dockerfile.bot Normal file
View File

@@ -0,0 +1,12 @@
FROM node:latest
# Working dir
RUN mkdir -p /emot/app
WORKDIR /emot/app
# Install bot
COPY ./bot /emot/app
RUN npm install
# Start the bot
CMD ["node", "index.js"]