2024-01-19 16:43:47 +00:00
|
|
|
FROM python:3.12
|
|
|
|
COPY backtest_scheduler.py .
|
2023-07-02 12:14:43 +00:00
|
|
|
COPY download_spx_quotes.py .
|
2024-01-19 16:43:47 +00:00
|
|
|
COPY run_backtest.py .
|
2023-07-02 12:14:43 +00:00
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install -r requirements.txt
|
2024-01-19 16:43:47 +00:00
|
|
|
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"]
|