You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
445 B
22 lines
445 B
FROM nginx:1.14 |
|
|
|
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 security-headers.conf /etc/nginx |
|
COPY security-headers-ssl.conf /etc/nginx |
|
COPY entrypoint.sh / |
|
|
|
EXPOSE 8080 |
|
EXPOSE 8443 |
|
|
|
RUN chmod +x /entrypoint.sh |
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|