nodbot/Dockerfile
2023-02-12 21:12:21 -05:00

8 lines
167 B
Docker

FROM node:16
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json ./
RUN npm install
COPY . .
CMD "node main.js 2> /logs/nodbot.error 1> /logs/nodbot.log"