Travis-CI Dockerbuild test
This commit is contained in:
		
							parent
							
								
									7cf9c0b165
								
							
						
					
					
						commit
						92b1e26f34
					
				
					 2 changed files with 28 additions and 0 deletions
				
			
		
							
								
								
									
										16
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| FROM lsiobase/alpine.python3 | ||||
| 
 | ||||
| LABEL maintainer="dirtycajunrice" | ||||
| 
 | ||||
| ENV branch="master" | ||||
| 
 | ||||
| RUN \ | ||||
|     git clone --single-branch -b $branch https://github.com/Boerderij/Varken.git /app && \ | ||||
|     python3 -m pip install -r /app/requirements.txt && \ | ||||
|     chown -R abc:abc \ | ||||
|     /config \ | ||||
|     /app | ||||
| 
 | ||||
| CMD cp /app/data/varken.example.ini /config/varken.example.ini && python3 /app/Varken.py --data-folder /config | ||||
| 
 | ||||
| VOLUME /config | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue