From b023801fe4e9e0d1bb83849c190f7c90957b8426 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 6 Sep 2022 21:39:31 +0100 Subject: [PATCH] Update Dockerfile to include cache mounts + update healthcheck to new endpoint --- Dockerfile | 27 +++++++++++++-------------- healthcheck.js | 22 ---------------------- 2 files changed, 13 insertions(+), 36 deletions(-) delete mode 100755 healthcheck.js diff --git a/Dockerfile b/Dockerfile index 3fa1367ff..ca819d24f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,18 +7,18 @@ WORKDIR /app COPY --link package.json pnpm-lock.yaml* ./ -RUN < { - console.log(`STATUS: ${res.statusCode}`); - if (res.statusCode == 200) { - process.exit(0); - } else { - process.exit(1); - } -}); -request.on("error", function (err) { - console.log("ERROR"); - process.exit(1); -}); -request.end();