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

@@ -5,9 +5,8 @@ RUN mkdir -p /emot/app
WORKDIR /emot/app
# Install bot
COPY package.json /emot/app
COPY ./bot /emot/app
RUN npm install
COPY . /emot/app
# Start the bot
CMD ["node", "index.js"]