I-SH/Dockerfile
2020-04-22 18:42:00 +02:00

17 lines
No EOL
243 B
Docker

# get node version 10
FROM node:10
# Create app directory
WORKDIR /usr/src/app
# Get app dependencies
COPY package*.json ./
# building app
RUN npm ci --only=production
# Bundle app source
COPY . .
# start up the bot
CMD [ "npm", "start" ]