BitBetter/src/licenseGen/Dockerfile

18 lines
392 B
Docker
Raw Normal View History

2021-08-28 12:07:12 +02:00
FROM mcr.microsoft.com/dotnet/sdk as build
WORKDIR /licenseGen
COPY . /licenseGen
RUN set -e; set -x; \
dotnet add package Newtonsoft.Json --version 12.0.3 \
&& dotnet restore \
&& dotnet publish
2017-10-29 20:13:38 +01:00
FROM bitbetter/api
COPY --from=build /licenseGen/bin/Debug/netcoreapp3.1/publish/* /app/
2017-10-29 20:13:38 +01:00
ENTRYPOINT [ "dotnet", "/app/licenseGen.dll", "--core", "/app/Core.dll", "--cert", "/cert.pfx" ]