I-SH/Dockerfile
2022-10-15 11:01:02 +02:00

18 lines
No EOL
275 B
Docker

# get node
FROM node:18.5.0-buster-slim
# FROM node:16-buster-slim
# 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" ]