mirror of
https://github.com/bitwarden/server
synced 2026-01-05 18:13:31 +00:00
run as bitwarden group/user
This commit is contained in:
@@ -5,6 +5,10 @@ RUN apt-get update \
|
||||
cron \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
COPY obj/Docker/publish/Api .
|
||||
|
||||
Reference in New Issue
Block a user