26 lines
629 B
Docker
26 lines
629 B
Docker
FROM python:3.10-slim
|
|
|
|
WORKDIR /
|
|
COPY docker_dev/executor/requirements.txt /
|
|
|
|
RUN pip install --upgrade pip
|
|
RUN pip install -r /requirements.txt
|
|
|
|
|
|
COPY cvttpy /cvttpy
|
|
COPY docker_dev/executor/.creds /.creds
|
|
|
|
RUN mkdir /logs
|
|
|
|
ENV PYTHONPATH=/
|
|
CMD [ \
|
|
"python3.10", \
|
|
"cvttpy/apps/executor_app.py", \
|
|
"--config=http://cloud16.cvtt.vpn:6789/apps/cvtt", \
|
|
"--admin_port=7220", \
|
|
"--active_exchanges=COINBASE_AT", \
|
|
"--credentials_file=/.creds", \
|
|
"--log_file=/logs/%T.EXECUTOR_APP.log" \
|
|
]
|
|
|