use bitwarden user for docker

This commit is contained in:
Kyle Spearrin 2018-03-23 21:21:01 -04:00
parent 2b528bad97
commit 6282fabf98
1 changed files with 4 additions and 0 deletions

View File

@ -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 .