From 5618cfb031bca2cc2b1d01831faee91df1555408 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 15 Aug 2017 11:57:04 -0400 Subject: [PATCH] use btiwarden kestrel server isntead of node --- Dockerfile | 7 +++---- entrypoint.sh | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 853f60e158..6e83707098 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ -FROM node - -RUN npm install http-server -g +FROM bitwarden/server WORKDIR /app -EXPOSE 80 COPY ./dist . +EXPOSE 80 + COPY entrypoint.sh / RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index f2960d0618..7325a44787 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,4 +2,4 @@ cp /etc/bitwarden/web/settings.js /app/js/settings.js cp /etc/bitwarden/web/app-id.json /app/app-id.json -http-server ./ -p 80 -d false --utc +dotnet /bitwarden_server/Server.dll /app .