1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-06 13:38:13 -05:00

load ca certs on setup

This commit is contained in:
Kyle Spearrin 2018-07-19 16:45:27 -04:00
parent b0aef93597
commit 511b1cbbb6

View File

@ -36,6 +36,10 @@ mkdir -p /bitwarden/ssl
mkdir -p /bitwarden/letsencrypt
mkdir -p /bitwarden/identity
mkdir -p /bitwarden/nginx
mkdir -p /bitwarden/ca-certificates
chown -R $USERNAME:$GROUPNAME /bitwarden
cp /bitwarden/ca-certificates/*.crt /usr/local/share/ca-certificates/ \
&& update-ca-certificates
exec gosu $USERNAME:$GROUPNAME "$@"