forked from mrlan/EnglishPal
				
			build.sh: remove redundant build.sh in app/.
							parent
							
								
									c1062eef31
								
							
						
					
					
						commit
						09bd6b9ddf
					
				
							
								
								
									
										17
									
								
								app/build.sh
								
								
								
								
							
							
						
						
									
										17
									
								
								app/build.sh
								
								
								
								
							|  | @ -1,17 +0,0 @@ | ||||||
| #!/bin/sh |  | ||||||
| 
 |  | ||||||
| cd /home/lanhui/englishpal |  | ||||||
| 
 |  | ||||||
| # Stop service |  | ||||||
| sudo service docker restart |  | ||||||
| 
 |  | ||||||
| # Rebuild container. Run this after modifying the source code. |  | ||||||
| sudo docker build -t englishpal . |  | ||||||
| 
 |  | ||||||
| # Run the application |  | ||||||
| sudo docker run -d -p 90:80 -v /home/lanhui/englishpal/app/static/frequency:/app/static/frequency -t englishpal  # for permanently saving data |  | ||||||
| 
 |  | ||||||
| # Save space.  Run it after sudo docker run |  | ||||||
| sudo docker system prune -a -f |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
		Loading…
	
		Reference in New Issue