Files
nginx-fpm-8-2/config/entrypoint.sh
Christian Steinle 460d34325b
All checks were successful
Build nginx fpm 8.2 image / Build-and-release-image (push) Successful in 1m3s
Write serve path only once.
2025-04-15 10:45:18 +02:00

8 lines
162 B
Bash
Executable File

#!/bin/sh
set -e
sed -i "s|/var/www/html;|/var/www/html${SERVE_PATH};|g" /etc/nginx/nginx.conf
/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf