1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00

proper bitwarden user

This commit is contained in:
Kyle Spearrin 2018-03-26 11:32:35 -04:00
parent 29b6574a34
commit 5b08763ce5

View File

@ -12,8 +12,8 @@ RUN groupadd -g 999 bitwarden \
&& chmod +x /entrypoint.sh \
&& chown bitwarden:bitwarden /entrypoint.sh \
&& touch /var/run/nginx.pid \
&& chown -R proxytest:proxytest /var/run/nginx.pid \
&& chown -R proxytest:proxytest /var/cache/nginx
&& chown -R bitwarden:bitwarden /var/run/nginx.pid \
&& chown -R bitwarden:bitwarden /var/cache/nginx
USER bitwarden
ENTRYPOINT ["/entrypoint.sh"]