From 7ff6755917eeb66335e319aa877a09de3d25f993 Mon Sep 17 00:00:00 2001 From: donghquinn Date: Tue, 20 Feb 2024 01:16:06 +0900 Subject: [PATCH] fixing docker file --- Dockerfile-deploy | 2 +- src/providers/news/geek/geek.pvd.ts | 1 - src/providers/news/hacker/hacker.pvd.ts | 1 - src/providers/news/ml/machine.pvd.ts | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile-deploy b/Dockerfile-deploy index a6b6b22..50d4d5a 100755 --- a/Dockerfile-deploy +++ b/Dockerfile-deploy @@ -24,7 +24,7 @@ RUN yarn run build # --- release --- -FROM base AS release +FROM node:20.3-alpine3.17 AS release WORKDIR /home/node diff --git a/src/providers/news/geek/geek.pvd.ts b/src/providers/news/geek/geek.pvd.ts index 4c89b2d..278744c 100644 --- a/src/providers/news/geek/geek.pvd.ts +++ b/src/providers/news/geek/geek.pvd.ts @@ -71,7 +71,6 @@ export class GeekProvider { const total = await this.prisma.geekNewsCount(startDate, endDate, size); NewsLogger.info('[GEEK] Get Total Count: %o', { - result, total, }); diff --git a/src/providers/news/hacker/hacker.pvd.ts b/src/providers/news/hacker/hacker.pvd.ts index d32a949..832978e 100755 --- a/src/providers/news/hacker/hacker.pvd.ts +++ b/src/providers/news/hacker/hacker.pvd.ts @@ -52,7 +52,6 @@ export class HackersNewsProvider { const total = await this.prisma.hackerNewsCount(startDate, endDate, size); NewsLogger.info('[Hackers] Get Total Count: %o', { - result, total, }); diff --git a/src/providers/news/ml/machine.pvd.ts b/src/providers/news/ml/machine.pvd.ts index 838e37b..4d6d2d8 100644 --- a/src/providers/news/ml/machine.pvd.ts +++ b/src/providers/news/ml/machine.pvd.ts @@ -31,7 +31,6 @@ export class MachineLearningProvider { const total = await this.prisma.mlTotalCount(startDate, endDate, size); NewsLogger.info('[ML] Get Total Count: %o', { - result, total, });