mirror of
https://github.com/bitwarden/server
synced 2026-02-24 16:42:52 +00:00
running as bitwarden user
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
FROM microsoft/aspnetcore:2.0.5
|
||||
|
||||
USER root
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
USER bitwarden
|
||||
COPY obj/Docker/publish /bitwarden_server
|
||||
|
||||
Reference in New Issue
Block a user