fix: 修复构建问题,方便快速构建
This commit is contained in:
@@ -4,10 +4,15 @@ services:
|
||||
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
|
||||
PYTHON_IMAGE: ${PYTHON_IMAGE:-docker.m.daocloud.io/library/python:3.10-slim}
|
||||
APT_MIRROR: ${APT_MIRROR:-mirrors.aliyun.com}
|
||||
PIP_INDEX_URL: ${PIP_INDEX_URL:-https://mirrors.aliyun.com/pypi/simple/}
|
||||
PIP_TRUSTED_HOST: ${PIP_TRUSTED_HOST:-mirrors.aliyun.com}
|
||||
AUTO_PULL_LATEST: ${AUTO_PULL_LATEST:-false}
|
||||
GIT_REPO_URL: ${GIT_REPO_URL:-}
|
||||
GIT_BRANCH: ${GIT_BRANCH:-master}
|
||||
GIT_CLONE_DEPTH: ${GIT_CLONE_DEPTH:-1}
|
||||
GIT_PROJECT_SUBDIR: ${GIT_PROJECT_SUBDIR:-video_worker}
|
||||
container_name: edge-dispatch-service
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
Reference in New Issue
Block a user