chore: dockerfile build from outside code dir

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

View File

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