Dockerized
This commit is contained in:
parent
e9f4b6be02
commit
16c74c4aa5
6
Dockerfile
Normal file
6
Dockerfile
Normal 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"]
|
@ -39,6 +39,8 @@ from flask_caching import Cache
|
|||||||
from dash.exceptions import PreventUpdate
|
from dash.exceptions import PreventUpdate
|
||||||
import yahoo_fin.stock_info as si
|
import yahoo_fin.stock_info as si
|
||||||
|
|
||||||
|
pd.options.mode.chained_assignment = None # default='warn'
|
||||||
|
|
||||||
# def fill_missing_data(df):
|
# def fill_missing_data(df):
|
||||||
# df.ffill(inplace=True)
|
# df.ffill(inplace=True)
|
||||||
# df.bfilln(inplace=True)
|
# df.bfilln(inplace=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user