Dockerfile base part separate to base image (#17701)

Unify open-source and closed-source Dockerfile expect nginx
1. per install tools to base image
2. fix copy nginx config
3. fix copy entrypoint*.sh
4. fix go ci error
5. add comment
This commit is contained in:
maoyifeng
2026-08-03 14:29:48 +08:00
committed by GitHub
parent ef9feef0c4
commit 3874ef8765
3 changed files with 235 additions and 206 deletions

View File

@@ -280,7 +280,7 @@ fi
if [[ "${ENABLE_WEBSERVER}" -eq 1 ]]; then
echo "Starting nginx..."
/usr/sbin/nginx
/usr/sbin/nginx -c /etc/nginx/nginx.conf
if [[ "${API_PROXY_SCHEME}" == "hybrid" ]] || [[ "${API_PROXY_SCHEME}" == "python" ]]; then
while true; do