mirror of
https://github.com/linuxserver/fanart-nginx.git
synced 2026-02-20 08:40:00 +08:00
42 lines
839 B
Docker
42 lines
839 B
Docker
FROM lsiobase/alpine.nginx:3.6
|
|
MAINTAINER kodestar
|
|
|
|
# set version label
|
|
ARG BUILD_DATE
|
|
ARG VERSION
|
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|
|
|
# environment settings
|
|
ENV DHLEVEL=2048 ONLY_SUBDOMAINS=false
|
|
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
|
|
|
|
# install packages
|
|
RUN \
|
|
apk add --no-cache \
|
|
certbot \
|
|
curl \
|
|
fail2ban \
|
|
nginx-mod-http-echo \
|
|
nginx-mod-http-fancyindex \
|
|
nginx-mod-http-geoip \
|
|
nginx-mod-http-headers-more \
|
|
nginx-mod-http-image-filter \
|
|
nginx-mod-http-lua \
|
|
nginx-mod-http-nchan \
|
|
nginx-mod-http-perl \
|
|
nginx-mod-http-upload-progress \
|
|
nginx-mod-http-xslt-filter \
|
|
nginx-mod-mail \
|
|
nginx-mod-rtmp \
|
|
nginx-mod-stream \
|
|
nginx-vim \
|
|
openssh \
|
|
rsync && \
|
|
|
|
# remove unnecessary fail2ban filters
|
|
rm \
|
|
/etc/fail2ban/jail.d/alpine-ssh.conf
|
|
|
|
# add local files
|
|
COPY root/ /
|