You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
黄海 a28639d670
'commit'
5 months ago
..
.idea 'commit' 5 months ago
config 'commit' 5 months ago
connectors 'commit' 5 months ago
mappers 'commit' 5 months ago
schemas 'commit' 5 months ago
services 'commit' 5 months ago
utils 'commit' 5 months ago
.dockerignore 'commit' 5 months ago
C1_CreateTable.py 'commit' 5 months ago
C2_SyncData.py 'commit' 5 months ago
Dockerfile 'commit' 5 months ago
checkencoding.sh 'commit' 5 months ago
entrypoint.sh 'commit' 5 months ago
publish.py 'commit' 5 months ago
readme.txt 'commit' 5 months ago
requirements.txt 'commit' 5 months ago

readme.txt

# 激活项目环境
conda activate py310

# 构建镜像
docker build --no-cache --build-arg PYTHON_VERSION=3.10 --build-arg APP_ENV=prod -t data-sync-service:1.0 .

# 运行
docker run -it --rm data-sync-service:1.0

# 模拟生产环境
export ENV=prod
python C2_SyncData.py