From 26ffc2a2bd937bd455db485b383ee20e12695eb0 Mon Sep 17 00:00:00 2001 From: Charlie Date: Sat, 1 Mar 2025 22:39:04 -0800 Subject: [PATCH] customize stock_info.py in yahoo_fin pkg to fix data retrieving issue. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 726057c..153ed74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,6 @@ RUN apt-get update && apt-get install -y libpq-dev gcc WORKDIR /app COPY . /app RUN pip install -U pip && pip install -r requirements.txt +ADD stock_info.py /usr/local/lib/python3.12/site-packages/yahoo_fin/ EXPOSE 8050 CMD ["python", "./indicators.py"]