FROM python:3.10-slim WORKDIR / COPY docker_dev/quant/requirements.txt / RUN pip install --upgrade pip RUN pip install -r /requirements.txt COPY cvttpy /cvttpy COPY docker_dev/quant/.creds /.creds RUN mkdir /logs ENV PYTHONPATH=/ # default config ENV CONFIG=http://cloud16.cvtt.vpn:6789/apps/cvtt ENV BOOK_ID=CVTT_CLD17_BK01 # ENV INSTRUMENTS="COINBASE:PAIR-BTC-USD" CMD [ \ "python3.10", \ "cvttpy/apps/quant_app.py", \ "--config=${CONFIG}", \ "--credentials_file=/.creds", \ "--active_exchanges=COINBASE_AT", \ # "--instruments=${INSTRUMENTS}", \ "--instruments=COINBASE:PAIR-BTC-USD", \ "--book=${BOOK_ID}" \ "--admin_port=7221", \ "--log_file=/logs/%T.QUANT.log" \ ]