Fix exec dir
Some checks failed
NodBot Production Dockerization / build (pull_request) Has been cancelled
Some checks failed
NodBot Production Dockerization / build (pull_request) Has been cancelled
This commit is contained in:
parent
545756b762
commit
3f5cc0a9ff
@ -6,4 +6,4 @@ COPY package.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
# CMD ["/bin/sh", "-c", "node main.js 2> /logs/nodbot.error 1> /logs/nodbot.log"]
|
||||
CMD ["/bin/sh", "-c", "node src/main.js 2> /logs/$(date +%Y-%m-%d_%H-%M-%S)-error.txt 1> /logs/$(date +%Y-%m-%d_%H-%M-%S)-status.txt"]
|
||||
CMD ["/bin/sh", "-c", "node main.js 2> /logs/$(date +%Y-%m-%d_%H-%M-%S)-error.txt 1> /logs/$(date +%Y-%m-%d_%H-%M-%S)-status.txt"]
|
Loading…
Reference in New Issue
Block a user