update nginx version

This commit is contained in:
cupcakearmy 2021-10-17 19:14:35 +02:00
parent 988fb8b8a2
commit 0e4526e4d0
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

View File

@ -2,7 +2,7 @@ FROM alpine AS builder
ARG DEP_DEV="alpine-sdk zlib-dev pcre-dev openssl-dev gd-dev" ARG DEP_DEV="alpine-sdk zlib-dev pcre-dev openssl-dev gd-dev"
ARG NGINX_MODULES="--with-http_realip_module --with-threads --with-http_ssl_module --with-http_v2_module --with-http_image_filter_module --with-http_gzip_static_module --with-http_secure_link_module" ARG NGINX_MODULES="--with-http_realip_module --with-threads --with-http_ssl_module --with-http_v2_module --with-http_image_filter_module --with-http_gzip_static_module --with-http_secure_link_module"
ARG NGINX=1.17.9 ARG NGINX=1.20.1
RUN apk add --no-cache ${DEP_DEV} RUN apk add --no-cache ${DEP_DEV}
@ -34,4 +34,4 @@ EXPOSE 80
STOPSIGNAL SIGTERM STOPSIGNAL SIGTERM
CMD ["/usr/local/nginx/sbin/nginx", "-g", "daemon off;"] CMD ["/usr/local/nginx/sbin/nginx", "-g", "daemon off;"]