Restructure CMD
This commit is contained in:
parent
d58542db5b
commit
8b6beb0b06
@ -5,4 +5,4 @@ WORKDIR /usr/src/app
|
|||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
COPY . .
|
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"]
|
Loading…
Reference in New Issue
Block a user