forked from OpenWF/SpaceNinjaServer
		
	We can rely on having up-to-date Node.js here, and reducing the size by like ~55 MiB seems decent. Reviewed-on: OpenWF/SpaceNinjaServer#2711 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
		
			
				
	
	
		
			9 lines
		
	
	
		
			253 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			253 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
set -e
 | 
						|
 | 
						|
if [ ! -f conf/config.json ]; then
 | 
						|
	jq --arg value "mongodb://openwfagent:spaceninjaserver@mongodb:27017/" '.mongodbUrl = $value' /app/config-vanilla.json > /app/conf/config.json
 | 
						|
fi
 | 
						|
 | 
						|
exec npm run raw -- --configPath conf/config.json
 |