Files
server/util/Nginx/Dockerfile

23 lines
445 B
Docker
Raw Normal View History

2018-08-01 10:38:12 -04:00
FROM nginx:1.14
2017-08-04 12:21:13 -04:00
LABEL com.bitwarden.product="bitwarden"
2018-03-27 14:55:33 -04:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gosu \
&& rm -rf /var/lib/apt/lists/*
2017-08-23 22:13:50 -04:00
COPY nginx.conf /etc/nginx
COPY proxy.conf /etc/nginx
COPY mime.types /etc/nginx
2018-08-31 12:55:54 -04:00
COPY security-headers.conf /etc/nginx
COPY security-headers-ssl.conf /etc/nginx
COPY entrypoint.sh /
EXPOSE 8080
EXPOSE 8443
2018-04-16 15:30:07 -04:00
RUN chmod +x /entrypoint.sh
2018-03-26 11:21:03 -04:00
2017-08-07 16:31:00 -04:00
ENTRYPOINT ["/entrypoint.sh"]