17 lines
		
	
	
		
			306 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			306 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
 | 
						|
 | 
						|
WORKDIR /App
 | 
						|
COPY . ./
 | 
						|
 | 
						|
RUN dotnet restore
 | 
						|
RUN dotnet publish Platforms/Server -c Release -r linux-musl-x64 --self-contained true -o out
 | 
						|
 | 
						|
FROM alpine:latest
 | 
						|
 | 
						|
WORKDIR /App
 | 
						|
COPY --from=build /App/out .
 | 
						|
 | 
						|
RUN apk add --no-cache icu-libs
 | 
						|
 | 
						|
ENTRYPOINT ["./Server"]
 |