Testing
Some checks are pending
NodBot Production Dockerization / build (pull_request) Has started running
Some checks are pending
NodBot Production Dockerization / build (pull_request) Has started running
This commit is contained in:
parent
241679cc7f
commit
c0c719f7bf
@ -5,4 +5,4 @@ WORKDIR /usr/src/app
|
|||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
COPY . .
|
COPY . .
|
||||||
CMD ["/bin/sh", "-c", "node main.js 2> /logs/nodbot.error 1> /logs/nodbot.log"]
|
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"]
|
@ -672,7 +672,7 @@ const functions = {
|
|||||||
return errorId;
|
return errorId;
|
||||||
},
|
},
|
||||||
async sendHeartbeat(url) {
|
async sendHeartbeat(url) {
|
||||||
console.log(url);
|
if (isDev) console.log("Heartbeat Sent: " + url);
|
||||||
https.get(url, async (response) => {
|
https.get(url, async (response) => {
|
||||||
let data = '';
|
let data = '';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user