fix: 优化docker构建速度
This commit is contained in:
@@ -3,6 +3,11 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/edge-dispatch/Dockerfile
|
||||
args:
|
||||
PYTHON_IMAGE: registry.cn-hangzhou.aliyuncs.com/library/python:3.10-slim
|
||||
APT_MIRROR: mirrors.aliyun.com
|
||||
PIP_INDEX_URL: https://mirrors.aliyun.com/pypi/simple/
|
||||
PIP_TRUSTED_HOST: mirrors.aliyun.com
|
||||
container_name: edge-dispatch-service
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
Reference in New Issue
Block a user