From d4fe5908f5e2821e5cfafe0d478594cc5029dfe1 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Tue, 13 Jul 2021 23:29:40 +0800 Subject: [PATCH] fix merging problem --- dockerfile | 3 +++ server/notification.js | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index ac5227393..390c4f5fe 100644 --- a/dockerfile +++ b/dockerfile @@ -10,6 +10,9 @@ COPY . . RUN npm install RUN npm run build +# Remove built tools +RUN apk del make g++ + EXPOSE 3001 VOLUME ["/app/data"] CMD ["npm", "run", "start-server"] diff --git a/server/notification.js b/server/notification.js index c60160a8a..8e3419527 100644 --- a/server/notification.js +++ b/server/notification.js @@ -92,7 +92,6 @@ class Notification { console.log(error) return false; } - return await Notification.discord(notification, msg) } else if (notification.type === "signal") { try {