mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-26 23:09:46 +02:00
use bitwarden user for docker
This commit is contained in:
parent
2b528bad97
commit
6282fabf98
|
@ -1,5 +1,9 @@
|
|||
FROM bitwarden/server
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./dist .
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user