mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-09-15 06:13:26 +00:00
* Dockerfile: remove not existing executable argument * licenseGen: fix classes according to upstream changes --------- Co-authored-by: juliokele <>
15 lines
376 B
Docker
15 lines
376 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", "--core", "/app/Core.dll", "--cert", "/app/cert.pfx" ] |