Skip to content

Commit

Permalink
missing curl in api image
Browse files Browse the repository at this point in the history
  • Loading branch information
gtramonte committed Jul 30, 2024
1 parent e17dfef commit 38fe6df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'

0 comments on commit 38fe6df

Please sign in to comment.