database-automation/ohlc/Dockerfile

7 lines
343 B
Docker

FROM python:3.11
COPY update_ohlc_data.py .
COPY requirements.txt .
RUN pip install -r requirements.txt
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/ iqfeed
CMD ["python", "./update_ohlc_data.py"]