1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00
bitwarden-server/util/Nginx/Dockerfile
Mart124 b3c48fd3fa Add a bitwarden label to docker images (#305)
* Add a bitwarden label to docker images

* Prefix label with reverse DNS
2018-06-09 08:17:16 -04:00

17 lines
339 B
Docker

FROM nginx:1.12
LABEL com.bitwarden.product="bitwarden"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gosu \
&& rm -rf /var/lib/apt/lists/*
COPY nginx.conf /etc/nginx
COPY proxy.conf /etc/nginx
COPY mime.types /etc/nginx
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]