backtest-automation/Dockerfile

10 lines
515 B
Docker

FROM python:3.12
COPY backtest_scheduler.py .
COPY download_spx_quotes.py .
COPY run_backtest.py .
COPY requirements.txt .
RUN pip install -r requirements.txt
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"]