From 7807c44fadc1a29e5f925fca4fc1aa2f95663e25 Mon Sep 17 00:00:00 2001 From: Roland Date: Tue, 9 Nov 2021 13:27:22 -0700 Subject: [PATCH] Installing curl into archive container so health check works. --- docker-compose.yml | 2 +- docker/archive/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a2263a4d..65024fc5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,7 +40,7 @@ services: ports: - '8083:8080' healthcheck: - test: [ 'CMD-SHELL', 'curl http://0.0.0.0:8080/' ] + test: [ 'CMD-SHELL', 'curl http://127.0.0.1:8080/' ] app: depends_on: diff --git a/docker/archive/Dockerfile b/docker/archive/Dockerfile index 76006859..32c2911f 100644 --- a/docker/archive/Dockerfile +++ b/docker/archive/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app # Install Python for main.py ENV PYTHONUNBUFFERED=1 -RUN apk add --update --no-cache python3 python3-dev && ln -sf python3 /usr/bin/python +RUN apk add --update --no-cache python3 python3-dev curl && ln -sf python3 /usr/bin/python RUN python3 -m ensurepip RUN pip3 install --no-cache --upgrade pip setuptools