mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	fix: don't assume build platform is amd64 (#6709)
This commit is contained in:
		
							parent
							
								
									f0c1b66b0f
								
							
						
					
					
						commit
						d1701e127e
					
				@ -227,8 +227,8 @@ CMD ["sleep", "infinity"]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Frigate web build
 | 
			
		||||
# force this to run on amd64 because QEMU is painfully slow
 | 
			
		||||
FROM --platform=linux/amd64 node:16 AS web-build
 | 
			
		||||
# This should be architecture agnostic, so speed up the build on multiarch by not using QEMU.
 | 
			
		||||
FROM --platform=$BUILDPLATFORM node:16 AS web-build
 | 
			
		||||
 | 
			
		||||
WORKDIR /work
 | 
			
		||||
COPY web/package.json web/package-lock.json ./
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user