mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	* Added '.dng' (AppleProRaw) to support file's type * Added OpenCV python framework for uniform image resizer * Added version number information
		
			
				
	
	
		
			25 lines
		
	
	
		
			478 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			478 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
## GPU Build
 | 
						|
# FROM tensorflow/tensorflow:latest-gpu as gpu
 | 
						|
 | 
						|
# WORKDIR /code
 | 
						|
 | 
						|
# COPY ./requirements.txt /code/requirements.txt
 | 
						|
 | 
						|
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 | 
						|
 | 
						|
# COPY ./app /code/app
 | 
						|
 | 
						|
 | 
						|
## CPU BUILD
 | 
						|
FROM python:3.8 as cpu
 | 
						|
 | 
						|
RUN apt-get update
 | 
						|
RUN apt-get install ffmpeg libsm6 libxext6  -y
 | 
						|
 | 
						|
WORKDIR /code
 | 
						|
 | 
						|
COPY ./requirements.txt /code/requirements.txt
 | 
						|
 | 
						|
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 | 
						|
 | 
						|
COPY ./app /code/app |