mirror of
				https://github.com/dokku/buildpack-nginx.git
				synced 2025-11-04 05:36:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			207 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			207 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
# bin/detect <build-dir> <cache-dir>
 | 
						|
set -eo pipefail
 | 
						|
[[ $TRACE ]] && set -x
 | 
						|
 | 
						|
# Exit early if app is clearly not an nginx app
 | 
						|
if [[ ! -f "$1/.static" ]]; then
 | 
						|
  exit 1
 | 
						|
fi
 | 
						|
 | 
						|
echo ".static"
 |