mirror of
https://github.com/bitwarden/server
synced 2026-01-03 09:03:44 +00:00
run as bitwarden group/user
This commit is contained in:
@@ -5,5 +5,9 @@ RUN apt-get update \
|
||||
openssl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
WORKDIR /app
|
||||
COPY obj/Docker/publish .
|
||||
|
||||
Reference in New Issue
Block a user