chore: bump base image to python 3.13 and switch nginx config to template-based conf.d generation
This commit is contained in:
+4
-2
@@ -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;'
|
||||
|
||||
Reference in New Issue
Block a user