From 348d93e7e47661a935fcbcfa6c455bc73e180bca Mon Sep 17 00:00:00 2001 From: Yogesh Ojha Date: Sat, 9 Jul 2022 01:21:16 +0530 Subject: [PATCH] fix httpx --- web/Dockerfile | 3 +++ web/celery-entrypoint.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/web/Dockerfile b/web/Dockerfile index 6a8899b3..58e7d2bb 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -108,3 +108,6 @@ RUN python3 -m pip install fuzzywuzzy \ # Copy source code COPY . /usr/src/app/ + +# httpx seems to have issue, use alias instead!!! +RUN echo 'alias httpx="/go/bin/httpx"' >> ~/.bashrc diff --git a/web/celery-entrypoint.sh b/web/celery-entrypoint.sh index d2f099fd..2620d0ca 100755 --- a/web/celery-entrypoint.sh +++ b/web/celery-entrypoint.sh @@ -137,3 +137,6 @@ then fi exec "$@" + +# httpx seems to have issue, use alias instead!!! +echo 'alias httpx="/go/bin/httpx"' >> ~/.bashrc