mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 04:43:25 +00:00 
			
		
		
		
	* Build image from source
* Clone only current version tag
* remove obsolete project
* support loading Core.dll from single file application
* pass single file application to license gen
* remove loose file parameter
* fix executable parameter
* Remove unnecessary changes in LicensingService.cs
* Revert "Remove unnecessary changes in LicensingService.cs"
This reverts commit d8465e1aec.
* Changed comment
		
	
			
		
			
				
	
	
		
			18 lines
		
	
	
		
			419 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			419 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
 | |
| 
 | |
| WORKDIR /licenseGen
 | |
| 
 | |
| COPY . /licenseGen
 | |
| 
 | |
| RUN set -e; set -x; \
 | |
| 	dotnet add package Newtonsoft.Json --version 13.0.1 \
 | |
| 	&& dotnet restore \
 | |
| 	&& dotnet publish
 | |
| 
 | |
| 
 | |
| FROM bitbetter/api
 | |
| 
 | |
| COPY --from=build /licenseGen/bin/Release/net8.0/publish/* /app/
 | |
| 
 | |
| ENTRYPOINT [ "dotnet", "/app/licenseGen.dll", "--core", "/app/Core.dll", "--executable", "/app/Api", "--cert", "/cert.pfx" ]
 |