| 
									
										
										
										
											2020-08-14 17:52:57 +02:00
										 |  |  | FROM my_ocrd_workflow-core | 
					
						
							| 
									
										
										
										
											2020-08-14 14:37:20 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-25 16:11:11 +02:00
										 |  |  | ARG PIP_INSTALL="pip3 install --no-cache-dir --use-feature=2020-resolver" | 
					
						
							| 
									
										
										
										
											2020-09-25 16:15:43 +02:00
										 |  |  | ARG SBB_TEXTLINE_DETECTOR_COMMIT="0f09f4a" | 
					
						
							| 
									
										
										
										
											2020-08-14 14:37:20 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Build pip installable stuff | 
					
						
							| 
									
										
										
										
											2020-09-25 16:11:11 +02:00
										 |  |  | RUN ${PIP_INSTALL} \ | 
					
						
							| 
									
										
										
										
											2020-08-14 14:37:20 +02:00
										 |  |  | # Now the real stuff: | 
					
						
							|  |  |  |     https://github.com/qurator-spk/sbb_textline_detector/archive/$SBB_TEXTLINE_DETECTOR_COMMIT.tar.gz | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Copy OCR models | 
					
						
							|  |  |  | COPY data/textline_detection /var/lib/textline_detection | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Check pip dependencies | 
					
						
							|  |  |  | RUN pip3 check | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Default command | 
					
						
							|  |  |  | CMD ["ocrd-sbb-textline-detector"] |