customize stock_info.py in yahoo_fin pkg to fix data retrieving issue.

This commit is contained in:
George 2025-03-01 22:39:04 -08:00
parent 7f53ee9734
commit 26ffc2a2bd

View File

@ -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"]