mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
b3c48fd3fa
* Add a bitwarden label to docker images * Prefix label with reverse DNS
17 lines
339 B
Docker
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"]
|