mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 06:03:12 +08: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