From aa1d8e7dcf79b8f05720c9864b802ae0a45eb613 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 20 Oct 2024 02:03:02 +0500 Subject: [PATCH] Update fetchname.sh to docker --- .build/prod/api.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.build/prod/api.Dockerfile b/.build/prod/api.Dockerfile index ed351d7..fdc14ca 100644 --- a/.build/prod/api.Dockerfile +++ b/.build/prod/api.Dockerfile @@ -4,7 +4,7 @@ RUN pip install python-dotenv flask gunicorn RUN apt-get update && apt-get install -y curl && apt-get clean && rm -rf /var/lib/apt/lists/* WORKDIR /app -COPY api.py tx.sh . -RUN chmod +x tx.sh api.py +COPY api.py tx.sh fetchname.sh . +RUN chmod +x tx.sh api.py fetchname.sh CMD gunicorn --workers 4 --bind 0.0.0.0:5000 api:app