progress
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
FROM python:3.10-slim
|
||||
|
||||
WORKDIR /
|
||||
COPY docker_dev/relative_liquidity/requirements.txt /
|
||||
RUN pip install --upgrade pip --root-user-action=ignore
|
||||
RUN pip install -r /requirements.txt --root-user-action=ignore
|
||||
|
||||
COPY cvttpy /cvttpy
|
||||
|
||||
# Shared Volumes
|
||||
RUN mkdir -p /app/data
|
||||
RUN mkdir /logs
|
||||
|
||||
ENV PYTHONPATH=/
|
||||
CMD [ \
|
||||
"python3.10", \
|
||||
"cvttpy/apps/md/rel_lqdt_server.py", \
|
||||
"--port=5678", \
|
||||
"--db_file=/app/data/rel_liquidity.db", \
|
||||
"--log_file=/logs/%%T.REL_LIQUIDITY_SVC.log" \
|
||||
]
|
||||
|
||||
|
||||
# Cmd="docker run"
|
||||
# Cmd="${Cmd} -d"
|
||||
# Cmd="${Cmd} --rm"
|
||||
# Cmd="${Cmd} --pull=always"
|
||||
# Cmd="${Cmd} --name=relative_liquidity_svc"
|
||||
# Cmd="${Cmd} -p 5678:5678"
|
||||
# Cmd="${Cmd} -v /home/cvtt/prod/data:/app/data"
|
||||
# Cmd="${Cmd} -v /home/cvtt/prod/logs:/logs"
|
||||
# Cmd="${Cmd} cloud21.cvtt.vpn:5500/relative_liquidity:latest"
|
||||
|
||||
Reference in New Issue
Block a user