mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	Use nginxproxymanager/nginx-full image base
which has been updated with bookworm, python 3.8, certbot 2.8.0 and node 20 Moved rootfs scripts as /bin is a symlink in bookworm
This commit is contained in:
		| @@ -3,7 +3,7 @@ | ||||
|  | ||||
| set -e | ||||
|  | ||||
| . /bin/common.sh | ||||
| . /usr/bin/common.sh | ||||
|  | ||||
| cd /app || exit 1 | ||||
|  | ||||
|   | ||||
| @@ -6,7 +6,7 @@ set -e | ||||
| # This service is DEVELOPMENT only. | ||||
|  | ||||
| if [ "$DEVELOPMENT" = 'true' ]; then | ||||
| 	. /bin/common.sh | ||||
| 	. /usr/bin/common.sh | ||||
| 	cd /app/frontend || exit 1 | ||||
| 	HOME=$NPMHOME | ||||
| 	export HOME | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|  | ||||
| set -e | ||||
|  | ||||
| . /bin/common.sh | ||||
| . /usr/bin/common.sh | ||||
|  | ||||
| log_info 'Starting nginx ...' | ||||
| exec s6-setuidgid "$PUID:$PGID" nginx | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|  | ||||
| set -e | ||||
|  | ||||
| . /bin/common.sh | ||||
| . /usr/bin/common.sh | ||||
|  | ||||
| if [ "$(id -u)" != "0" ]; then | ||||
| 	log_fatal "This docker container must be run as root, do not specify a user.\nYou can specify PUID and PGID env vars to run processes as that user and group after initialization." | ||||
|   | ||||
| @@ -24,4 +24,4 @@ chown -R "$PUID:$PGID" /etc/nginx/nginx.conf | ||||
| chown -R "$PUID:$PGID" /etc/nginx/conf.d | ||||
|  | ||||
| # Prevents errors when installing python certbot plugins when non-root | ||||
| chown -R "$PUID:$PGID" /opt/certbot/lib/python3.7/site-packages | ||||
| chown -R "$PUID:$PGID" /opt/certbot/lib/python*/site-packages | ||||
|   | ||||
		Reference in New Issue
	
	Block a user