build script

This commit is contained in:
Jake Swenson
2017-10-22 10:08:50 -07:00
parent 75b6eda59d
commit 13f33a900a
3 changed files with 13 additions and 3 deletions

View File

@@ -4,6 +4,9 @@ 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 && \
echo "modified dll" && \
mv /app/Core.dll /app/Core.orig.dll && \
mv /app/modified.dll /app/Core.dll && \
rm -rf /bitBetter && rm -rf /newLicensing.cer
echo "replaced dll" && \
rm -rf /bitBetter && rm -rf /newLicensing.cer && \
echo "cleaned up"