8 lines
167 B
Docker
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" |