diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2b0f635 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM bitwarden/api + +COPY bin/Debug/netcoreapp2.0/publish/* /bitBetter/ +COPY cert.cert /newLicensing.cer + +RUN dotnet /bitBetter/bitBetter.dll && \ + mv /app/Core.dll /app.Core.orig.dll && \ + mv /app/modified.dll /app/Core.dll && \ + rm -rf /bitBetter && rm -rf /newLicensing.cer \ No newline at end of file diff --git a/bitwardenSelfLicensor.csproj b/bitBetter.csproj similarity index 100% rename from bitwardenSelfLicensor.csproj rename to bitBetter.csproj diff --git a/bitwardenSelfLicensor.sln b/bitwardenSelfLicensor.sln deleted file mode 100644 index 5bb438c..0000000 --- a/bitwardenSelfLicensor.sln +++ /dev/null @@ -1,22 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.0.0 -MinimumVisualStudioVersion = 10.0.0.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bitwardenSelfLicensor", "bitwardenSelfLicensor.csproj", "{583CBED9-EA04-4E5A-BE5B-31370052D4E2}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {583CBED9-EA04-4E5A-BE5B-31370052D4E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {583CBED9-EA04-4E5A-BE5B-31370052D4E2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {583CBED9-EA04-4E5A-BE5B-31370052D4E2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {583CBED9-EA04-4E5A-BE5B-31370052D4E2}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal