moving to python 3.12

This commit is contained in:
2024-09-03 18:24:36 -04:00
parent 75548025d7
commit 0fe306ff51
22 changed files with 26 additions and 85 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.10-slim
FROM python:3.12-slim
ARG FROM_DIR=docker_dev/trading/trading_recorder
@@ -1,24 +1,5 @@
#!/bin/bash
#[program:trading_rec_alpaca]
#directory=/home/cvtt/prod
#command=/home/cvtt/.pyenv/python3.10-venv/bin/python3
# -u /home/cvtt/prod/cvttpy/apps/trade_recorder.py
# --config=http://cloud16.cvtt.vpn:6789/apps/cvtt_eqt_alpaca
# --active_exchanges=ALPACA_SNDBX-MDPORTAL
# --book=ALPACA_BK02
# --dynamic_instruments=ALPACA_SNDBX
# --admin_port=7225
# --log_level=INFO
# --log_file=/home/cvtt/prod/logs/%%T.TRADING_REC_APP.log
# # --debug_mode
#autostart=true
#autorestart=true
#startretries=1
#startsecs=3
#priority=2
#user=cvtt
# runs on host to start container
@@ -70,7 +51,7 @@ if [ "${Book}" == "" ]; then
usage
fi
Cmd="python3.10"
Cmd="python3.12"
Cmd="${Cmd} cvttpy/apps/trader_app.py"
Cmd="${Cmd} --config=http://${ConfigServer}/${Config}"
Cmd="${Cmd} --credentials_file=/.creds"