This commit is contained in:
2024-08-09 22:46:20 -04:00
parent 03f14248e9
commit d915a0dfd4
13 changed files with 113 additions and 15 deletions
+8 -3
View File
@@ -3,14 +3,19 @@ FROM python:3.10-slim
ARG FROM_DIR=docker_dev/market_data/crypto_md_day
COPY ${FROM_DIR}/requirements.txt /
RUN pip install --upgrade pip --root-user-action=ignore
RUN pip install -r /requirements.txt --root-user-action=ignore
COPY cvttpy /cvttpy
COPY ${FROM_DIR}/.creds /.creds
COPY ${FROM_DIR}/crypto_md_day.sh /crypto_md_day.sh
RUN apt-get update && apt-get install -y --no-install-recommends rsync openssh-client && rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip --root-user-action=ignore
RUN pip install -r /requirements.txt --root-user-action=ignore
RUN apt-get update && apt-get install -y \
libpq-dev \
build-essential
RUN apt-get update && apt-get install -y rsync openssh-client
COPY docker_dev/shared/id_rsa /root/.ssh/id_rsa
COPY docker_dev/shared/id_rsa.pub /root/.ssh/id_rsa.pub
+2 -1
View File
@@ -8,7 +8,8 @@ usage() {
DbHost=""
Date=""
Schemas=coinbase,bnbspot,bnbfut
# Schemas=coinbase,bnbspot,bnbfut
Schemas=coinbase,bnbspot
while getopts ":h:d:s:" opt; do
case ${opt} in
+1 -1
View File
@@ -1,6 +1,6 @@
aiohttp>=3.7.4.post0
nest-asyncio>=1.5.5
asyncpg>=0.27.0
psycopg>=3.2.1
hjson>=3.1.0
pandas>=1.5.3
sortedcontainers>=2.4.0