mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 02:39:03 -04:00 
			
		
		
		
	* Add linux/arm64 to machine-learning container build * Bump tfjs version to 3.19.0 * Fix tfjs dependency error
		
			
				
	
	
		
			18 lines
		
	
	
		
			313 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			313 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM node:16-bullseye-slim
 | |
| 
 | |
| ARG DEBIAN_FRONTEND=noninteractive
 | |
| 
 | |
| WORKDIR /usr/src/app
 | |
| 
 | |
| COPY package.json package-lock.json ./
 | |
| 
 | |
| RUN apt-get update
 | |
| RUN apt-get install gcc g++ make cmake python3 python3-pip ffmpeg -y
 | |
| 
 | |
| RUN npm ci
 | |
| RUN npm rebuild @tensorflow/tfjs-node --build-from-source
 | |
| 
 | |
| COPY . .
 | |
| 
 | |
| RUN npm run build
 |