mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	Add targetarch support for Dockerfile.migrations
This commit is contained in:
		
							parent
							
								
									5d430f8ee8
								
							
						
					
					
						commit
						81d4a13735
					
				@ -20,7 +20,7 @@ RUN dotnet restore -a $TARGETARCH
 | 
			
		||||
 | 
			
		||||
COPY . .
 | 
			
		||||
RUN dotnet build
 | 
			
		||||
RUN dotnet ef migrations bundle --no-build --self-contained -f -o /app/migrate -p src/Kyoo.Postgresql --verbose
 | 
			
		||||
RUN dotnet ef migrations bundle --no-build --self-contained -r linux-${TARGETARCH} -f -o /app/migrate -p src/Kyoo.Postgresql --verbose
 | 
			
		||||
 | 
			
		||||
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0
 | 
			
		||||
COPY --from=builder /app/migrate /app/migrate
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user