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