mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-30 02:34:13 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| ARG GIT_COMMIT="latest"
 | |
| FROM quratorspk/ocrd-galley-core-cuda12.1:$GIT_COMMIT
 | |
| 
 | |
| ARG PIP_INSTALL="pip install --no-cache-dir"
 | |
| ARG OCRD_ANYBASEOCR_VERSION="1.8.2"
 | |
| 
 | |
| 
 | |
| 
 | |
| # Build pip installable stuff
 | |
| RUN ${PIP_INSTALL} \
 | |
|     "ocrd_anybaseocr == ${OCRD_ANYBASEOCR_VERSION}"
 | |
| 
 | |
| 
 | |
| # Check pip dependencies
 | |
| RUN pip check
 | |
| 
 | |
| 
 | |
| # Default command
 | |
| CMD ["ocrd-anybaseocr-crop"]
 |