mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00
run as bitwarden group/user
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
FROM microsoft/aspnetcore:2.0.5
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
COPY obj/Docker/publish .
|
||||
|
Reference in New Issue
Block a user