From 75fced88ce83d9c7d595047502aee8c3ce583004 Mon Sep 17 00:00:00 2001 From: Thomas Makin Date: Thu, 28 Sep 2023 13:24:33 -0400 Subject: [PATCH] docker: add curl to slim image --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index d7d8df6..f08cbe8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,9 @@ FROM node:18.18.0-bookworm-slim ENV PORT=3001 EXPOSE 3001 +RUN apt update +RUN apt install -y curl + HEALTHCHECK --interval=5s --timeout=30s --start-period=5s --retries=3 CMD [ "curl http://localhost/" ] WORKDIR /sauce-app