mirror of
https://github.com/bitwarden/server
synced 2026-01-02 00:23:40 +00:00
18 lines
310 B
Docker
18 lines
310 B
Docker
FROM nginx:1.12
|
|
|
|
USER root
|
|
RUN groupadd -g 999 bitwarden && \
|
|
useradd -r -u 999 -g bitwarden bitwarden
|
|
|
|
USER bitwarden
|
|
COPY nginx.conf /etc/nginx
|
|
COPY proxy.conf /etc/nginx
|
|
COPY mime.types /etc/nginx
|
|
COPY entrypoint.sh /
|
|
|
|
USER root
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
USER bitwarden
|
|
ENTRYPOINT ["/entrypoint.sh"]
|