1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00
This commit is contained in:
Kyle Spearrin
2018-03-27 15:44:25 -04:00
parent 0fc1415a06
commit 832ddddc58
2 changed files with 14 additions and 8 deletions

View File

@@ -1,5 +1,12 @@
#!/bin/sh
useradd -r -u ${LOCAL_UID:-999} -g bitwarden bitwarden
chown -R bitwarden:bitwarden /etc/bitwarden
cp /etc/bitwarden/web/settings.js /app/js/settings.js
cp /etc/bitwarden/web/app-id.json /app/app-id.json
dotnet /bitwarden_server/Server.dll /contentRoot=/app /webRoot=. /serveUnknown=false
chown -R bitwarden:bitwarden /app
chown -R bitwarden:bitwarden /bitwarden_server
gosu bitwarden:bitwarden dotnet /bitwarden_server/Server.dll \
/contentRoot=/app /webRoot=. /serveUnknown=false