chore: dockerfile build from outside code dir
This commit is contained in:
@@ -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"]
|
Reference in New Issue
Block a user