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.
|
5 months ago | |
---|---|---|
.. | ||
.idea | 5 months ago | |
config | 5 months ago | |
connectors | 5 months ago | |
mappers | 5 months ago | |
schemas | 5 months ago | |
services | 5 months ago | |
utils | 5 months ago | |
.dockerignore | 5 months ago | |
C1_CreateTable.py | 5 months ago | |
C2_SyncData.py | 5 months ago | |
Dockerfile | 5 months ago | |
checkencoding.sh | 5 months ago | |
entrypoint.sh | 5 months ago | |
publish.py | 5 months ago | |
readme.txt | 5 months ago | |
requirements.txt | 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