Some checks failed
		
		
	
	Build and Push Server Docker Image / build-server (push) Failing after 21s
				
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			484 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			484 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM mcr.microsoft.com/dotnet/sdk:10.0.100-preview.7-alpine3.22-aot
 | 
						|
 AS build
 | 
						|
 | 
						|
# Install NativeAOT build prerequisites
 | 
						|
RUN apk update \
 | 
						|
    && apk add --no-cache \
 | 
						|
       clang zlib-dev 
 | 
						|
 | 
						|
WORKDIR /source
 | 
						|
 | 
						|
COPY . .
 | 
						|
RUN cd 'VirtualDDNSRouter.Server' && dotnet publish -r linux-musl-x64 -o /app 'VirtualDDNSRouter.Server.csproj'
 | 
						|
 | 
						|
FROM mcr.microsoft.com/dotnet/runtime-deps:10.0.0-preview.7-alpine3.22
 | 
						|
 | 
						|
WORKDIR /app
 | 
						|
COPY --from=build /app .
 | 
						|
ENTRYPOINT ["/app/VirtualDDNSRouter.Server"] |