Restructure CMD

This commit is contained in:
Skylar Grant 2023-02-12 21:17:14 -05:00
parent d58542db5b
commit 8b6beb0b06

View File

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