mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:29:32 -05:00 
			
		
		
		
	Fixed Dockerfile not working in dev
This commit is contained in:
		
							parent
							
								
									cc61729f01
								
							
						
					
					
						commit
						c3348bd068
					
				@ -17,7 +17,6 @@ RUN npm rebuild @tensorflow/tfjs-node --build-from-source
 | 
				
			|||||||
COPY . .
 | 
					COPY . .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN npm run build
 | 
					RUN npm run build
 | 
				
			||||||
RUN npm prune --omit=dev
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Prod stage
 | 
					# Prod stage
 | 
				
			||||||
FROM node:16-bullseye-slim
 | 
					FROM node:16-bullseye-slim
 | 
				
			||||||
 | 
				
			|||||||
@ -11,7 +11,6 @@ RUN npm ci
 | 
				
			|||||||
COPY . .
 | 
					COPY . .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN npm run build
 | 
					RUN npm run build
 | 
				
			||||||
RUN npm prune --omit=dev
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Prod stage
 | 
					# Prod stage
 | 
				
			||||||
FROM node:16-alpine3.14
 | 
					FROM node:16-alpine3.14
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user