mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 12:53:25 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			286 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			286 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM mcr.microsoft.com/dotnet/sdk:6.0 as build
 | |
| WORKDIR /bitBetter
 | |
| 
 | |
| COPY . /bitBetter
 | |
| COPY cert.cert /app/
 | |
| 
 | |
| RUN dotnet restore
 | |
| RUN dotnet publish -c Release -o /app --no-restore
 | |
| 
 | |
| FROM mcr.microsoft.com/dotnet/sdk:6.0
 | |
| WORKDIR /app
 | |
| COPY --from=build /app .
 | |
| 
 | |
| ENTRYPOINT [ "/app/bitBetter" ] |