chore: bump base image to python 3.13 and switch nginx config to template-based conf.d generation

This commit is contained in:
2026-05-15 23:28:39 +00:00
parent e3676f26ea
commit e304119d76
5 changed files with 8 additions and 6 deletions
+4 -2
View File
@@ -13,8 +13,10 @@ fi
export NGINX_CACHE_CONFIG
export NGINX_CACHE_MAX_SIZE="${NGINX_CACHE_MAX_SIZE:-1g}"
mkdir -p /etc/nginx/conf.d
envsubst '${NGINX_CACHE_CONFIG} ${NGINX_CACHE_MAX_SIZE}' \
< /etc/nginx/nginx.conf.template \
> /etc/nginx/nginx.conf
< /etc/nginx/templates/default.conf.template \
> /etc/nginx/conf.d/default.conf
exec nginx -g 'daemon off;'