mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
run as bitwarden group/user
This commit is contained in:
@ -1,2 +1,7 @@
|
||||
FROM microsoft/aspnetcore:2.0.5
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
COPY obj/Docker/publish /bitwarden_server
|
||||
|
Reference in New Issue
Block a user