seems to be the last RC - this app is done - so am I
This commit is contained in:
		
							parent
							
								
									1506201913
								
							
						
					
					
						commit
						f5b184fe54
					
				
					 37 changed files with 1932 additions and 661 deletions
				
			
		
							
								
								
									
										16
									
								
								steam-gift-manager/entrypoint.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								steam-gift-manager/entrypoint.sh
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Debug-Output
 | 
			
		||||
echo "🔄 DEBUGPY-Value: ''"
 | 
			
		||||
echo "🔄 FLASK_DEBUG-Value: ''"
 | 
			
		||||
 | 
			
		||||
# Debug-Modus activate if .env told you so
 | 
			
		||||
if [[ "" == "1" || "" == "1" ]]; then
 | 
			
		||||
  echo "🔄 Starting in DEBUG mode (Port 5678)..."
 | 
			
		||||
  exec python -m debugpy --listen 0.0.0.0:5678 -m flask run --host=0.0.0.0 --port=5000
 | 
			
		||||
else
 | 
			
		||||
  echo "🚀 Starting in PRODUCTION mode..."
 | 
			
		||||
  exec gunicorn -b 0.0.0.0:5000 app:app
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue