Improved docker logging

This commit is contained in:
Skylar Grant 2023-02-12 21:12:21 -05:00
parent d968bed644
commit d58542db5b

View File

@ -5,4 +5,4 @@ WORKDIR /usr/src/app
COPY package.json ./
RUN npm install
COPY . .
CMD [ "node", "main.js" ]
CMD "node main.js 2> /logs/nodbot.error 1> /logs/nodbot.log"