1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-16 01:51:21 +01:00
bitwarden-server/util/Nginx/Dockerfile

18 lines
310 B
Docker
Raw Normal View History

2017-10-02 22:38:52 +02:00
FROM nginx:1.12
2017-08-04 18:21:13 +02:00
2018-03-24 02:58:45 +01:00
USER root
RUN groupadd -g 999 bitwarden && \
useradd -r -u 999 -g bitwarden bitwarden
USER bitwarden
2017-08-24 04:13:50 +02:00
COPY nginx.conf /etc/nginx
COPY proxy.conf /etc/nginx
COPY mime.types /etc/nginx
2017-08-07 22:31:00 +02:00
COPY entrypoint.sh /
2018-03-24 02:58:45 +01:00
USER root
2017-08-07 22:31:00 +02:00
RUN chmod +x /entrypoint.sh
2018-03-24 02:58:45 +01:00
USER bitwarden
2017-08-07 22:31:00 +02:00
ENTRYPOINT ["/entrypoint.sh"]