mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
gosu
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user