running as bitwarden user

This commit is contained in:
Kyle Spearrin
2018-03-23 21:58:45 -04:00
parent e499087a57
commit 19fa9bf806
10 changed files with 57 additions and 15 deletions

View File

@@ -1,7 +1,11 @@
FROM bitwarden/server
USER bitwarden
EXPOSE 80
COPY entrypoint.sh /
USER root
RUN chmod +x /entrypoint.sh
USER bitwarden
ENTRYPOINT ["/entrypoint.sh"]