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