mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	fix(machine-learning): Add the command to execute at startup (#1843)
* fix(machine-learning): Add the command to execute at startup Previously it wasn't set in the Docker container but it should be. * fix(docker): remove machine-learning command arg * fix(docker): machine-learning CMD argument
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							de5a6b2c35
						
					
				
				
					commit
					b00631d186
				
			@@ -34,7 +34,6 @@ services:
 | 
			
		||||
  immich-machine-learning:
 | 
			
		||||
    container_name: immich_machine_learning
 | 
			
		||||
    image: altran1502/immich-machine-learning:release
 | 
			
		||||
    command: [ "python", "src/main.py" ]
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
 | 
			
		||||
      - model-cache:/cache
 | 
			
		||||
 
 | 
			
		||||
@@ -14,3 +14,5 @@ RUN pip install transformers tqdm numpy scikit-learn scipy nltk sentencepiece fl
 | 
			
		||||
RUN pip install --no-deps sentence-transformers
 | 
			
		||||
 | 
			
		||||
COPY . .
 | 
			
		||||
 | 
			
		||||
CMD ["python", "src/main.py"]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user