Update Dockerfile to run backtest scheduler in container
This commit is contained in:
parent
9a498f04a0
commit
ad5bbc3c10
@ -1,5 +1,10 @@
|
|||||||
FROM python:3.10
|
FROM python:3.12
|
||||||
|
COPY backtest_scheduler.py .
|
||||||
COPY download_spx_quotes.py .
|
COPY download_spx_quotes.py .
|
||||||
|
COPY run_backtest.py .
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
CMD ["python", "./download_spx_quotes.py"]
|
RUN pip install --index-url https://dev.moshington.com/api/packages/moshferatu/pypi/simple/ backtesting
|
||||||
|
RUN pip install --index-url https://dev.moshington.com/api/packages/moshferatu/pypi/simple/ database
|
||||||
|
RUN pip install --index-url https://dev.moshington.com/api/packages/moshferatu/pypi/simple/ discord-messaging
|
||||||
|
CMD ["python", "./backtest_scheduler.py"]
|
@ -1,5 +1,9 @@
|
|||||||
pandas
|
pandas
|
||||||
paramiko
|
paramiko
|
||||||
|
plotly
|
||||||
|
psycopg2
|
||||||
python-dotenv
|
python-dotenv
|
||||||
pytz
|
pytz
|
||||||
|
requests
|
||||||
schedule
|
schedule
|
||||||
|
sqlalchemy
|
Loading…
Reference in New Issue
Block a user