mirror of
https://github.com/cupcakearmy/docker-static.git
synced 2024-12-21 15:56:30 +00:00
update nginx version
This commit is contained in:
parent
988fb8b8a2
commit
0e4526e4d0
@ -2,7 +2,7 @@ FROM alpine AS builder
|
||||
|
||||
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=1.17.9
|
||||
ARG NGINX=1.20.1
|
||||
|
||||
RUN apk add --no-cache ${DEP_DEV}
|
||||
|
||||
@ -34,4 +34,4 @@ EXPOSE 80
|
||||
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
CMD ["/usr/local/nginx/sbin/nginx", "-g", "daemon off;"]
|
||||
CMD ["/usr/local/nginx/sbin/nginx", "-g", "daemon off;"]
|
||||
|
Loading…
Reference in New Issue
Block a user