mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 09:25:15 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			506 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			506 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 | 
						|
if hash realpath 2>/dev/null; then
 | 
						|
    export CODEBASE=$(realpath $SCRIPT_DIR/..)
 | 
						|
elif hash grealpath 2>/dev/null; then
 | 
						|
    export CODEBASE=$(grealpath $SCRIPT_DIR/..)
 | 
						|
else
 | 
						|
    export CODEBASE=$(readlink -e $SCRIPT_DIR/..)
 | 
						|
fi
 | 
						|
 | 
						|
if [ -z "$CODEBASE" ]; then
 | 
						|
    echo "Unable to determine absolute codebase directory"
 | 
						|
    exit 1
 | 
						|
fi
 | 
						|
 | 
						|
cd "$CODEBASE"
 | 
						|
 | 
						|
/usr/local/bin/docker-compose run --no-deps --rm -w /srv/manager app gulp $@
 | 
						|
exit $?
 |