mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
running as bitwarden user
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user