From 38fe6dfd8df3b270123cb00fea73d60d36f61b77 Mon Sep 17 00:00:00 2001 From: Gabriele Tramonte Date: Tue, 30 Jul 2024 16:21:23 +0200 Subject: [PATCH] missing curl in api image --- api/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index 648554d..ad73842 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -2,7 +2,7 @@ ARG REGISTRY=rg.fr-par.scw.cloud/geolake ARG TAG=latest FROM $REGISTRY/geolake-datastore:$TAG -RUN apt update && apt install -y cron +RUN apt update && apt install -y cron curl WORKDIR /app COPY requirements.txt /code/requirements.txt @@ -15,6 +15,5 @@ COPY ./healtcheck.* /opt/ RUN chmod +x /opt/healtcheck.sh RUN crontab -u root /opt/healtcheck.cron -#CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"] +CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"] -ENTRYPOINT service cron start && ./../wait-for-it.sh $(BROKER_SERVICE_HOST):5672 -- uvicorn main:app --host 0.0.0.0 --port '80' \ No newline at end of file