FROM python:3.10-slim WORKDIR / COPY docker_dev/quant/requirements.txt / RUN pip install --upgrade pip RUN pip install -r /requirements.txt RUN apt-get update && apt-get install -y \ apt-utils \ libpq-dev \ build-essential 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 CMD [ \ "python3.10", \ "cvttpy/apps/quant_app.py", \ "--config=http://cloud16.cvtt.vpn:6789/apps/cvtt", \ "--credentials_file=/.creds", \ "--active_exchanges=COINBASE_AT", \ "--instruments=COINBASE:PAIR-BTC-USD", \ "--book=CVTT_CLD17_BK01", \ "--admin_port=7221", \ "--log_file=/logs/%T.QUANT.log" \ ]