Dockerized

This commit is contained in:
George 2024-09-29 12:33:03 -07:00
parent e9f4b6be02
commit 16c74c4aa5
2 changed files with 8 additions and 0 deletions

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM python:alpine3.19
WORKDIR /app
COPY . /app
RUN pip install -U pip && pip install -r requirements.txt
EXPOSE 8050
CMD ["python", "./indicators.py"]

View File

@ -39,6 +39,8 @@ from flask_caching import Cache
from dash.exceptions import PreventUpdate
import yahoo_fin.stock_info as si
pd.options.mode.chained_assignment = None # default='warn'
# def fill_missing_data(df):
# df.ffill(inplace=True)
# df.bfilln(inplace=True)