Better logging output
This commit is contained in:
parent
428cbc1597
commit
1cb5e94145
@ -6,4 +6,4 @@ COPY package.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
# CMD ["/bin/sh", "-c", "node main.js 2> /logs/silvanus.err 1> /logs/silvanus.log"]
|
||||
CMD ["/bin/sh", "-c", "node main.js 2> /logs/silvanus-$(date +%Y-%m-%d_%H-%M-%S).err 1> /logs/silvanus-$(date +%Y-%m-%d_%H-%M-%S).log"]
|
||||
CMD ["/bin/sh", "-c", "node main.js 2> /logs/silvanus-stderr-$(date +%Y-%m-%d_%H-%M-%S).log 1> /logs/silvanus-stdout-$(date +%Y-%m-%d_%H-%M-%S).log"]
|
||||
|
Loading…
Reference in New Issue
Block a user