adding docker file

This commit is contained in:
Jake Swenson
2017-10-19 10:03:00 -07:00
parent dfd6e21230
commit c6eeee7cff
3 changed files with 9 additions and 22 deletions

9
Dockerfile Normal file
View File

@@ -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