mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-12-16 03:06:18 +00:00
* Some work on line endings * Enable buildkit * Update documentation * Settle the newline and tab vs spaces for now Not perfect, but it's a standard * Change wording * Update version memo * Add correct definition for markdown * Make things clearer
15 lines
368 B
Docker
15 lines
368 B
Docker
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
|
WORKDIR /licenseGen
|
|
|
|
COPY . /licenseGen
|
|
COPY Core.dll /app/
|
|
COPY cert.pfx /app/
|
|
|
|
RUN dotnet restore
|
|
RUN dotnet publish -c Release -o /app --no-restore
|
|
|
|
FROM mcr.microsoft.com/dotnet/sdk:8.0
|
|
WORKDIR /app
|
|
COPY --from=build /app .
|
|
|
|
ENTRYPOINT ["dotnet", "/app/licenseGen.dll", "--cert=/app/cert.pfx", "--core=/app/Core.dll"] |