mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	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
		
			
				
	
	
		
			22 lines
		
	
	
		
			422 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			422 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| #!/command/with-contenv bash
 | |
| # shellcheck shell=bash
 | |
| 
 | |
| set -e
 | |
| 
 | |
| # This service is DEVELOPMENT only.
 | |
| 
 | |
| if [ "$DEVELOPMENT" = 'true' ]; then
 | |
| 	. /usr/bin/common.sh
 | |
| 	cd /app/frontend || exit 1
 | |
| 	HOME=$NPMHOME
 | |
| 	export HOME
 | |
| 	mkdir -p /app/frontend/dist
 | |
| 	chown -R "$PUID:$PGID" /app/frontend/dist
 | |
| 
 | |
| 	log_info 'Starting frontend ...'
 | |
| 	s6-setuidgid "$PUID:$PGID" yarn install
 | |
| 	exec s6-setuidgid "$PUID:$PGID" yarn watch
 | |
| else
 | |
| 	exit 0
 | |
| fi
 |