File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ ARG CONFIG="\
6060 --add-module=/tmp/lua-nginx-module-${LUA_NGINX_MODULE_VERSION} \
6161 "
6262
63- FROM alpine:3.12
63+ FROM alpine:3.12 AS base
6464LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
6565
6666ARG NGINX_VERSION
@@ -172,13 +172,13 @@ ARG NGINX_VERSION
172172ARG NGX_BROTLI_COMMIT
173173ARG LUA_NGINX_MODULE_VERSION
174174
175- COPY --from=0 /tmp/runDeps.txt /tmp/runDeps.txt
176- COPY --from=0 /etc/nginx /etc/nginx
177- COPY --from=0 /usr/lib/nginx/modules/*.so /usr/lib/nginx/modules/
178- COPY --from=0 /usr/sbin/nginx /usr/sbin/nginx-debug /usr/sbin/
179- COPY --from=0 /usr/share/nginx/html/* /usr/share/nginx/html/
180- COPY --from=0 /usr/bin/envsubst /usr/local/bin/envsubst
181- COPY --from=0 /etc/ssl/dhparam.pem /etc/ssl/dhparam.pem
175+ COPY --from=base /tmp/runDeps.txt /tmp/runDeps.txt
176+ COPY --from=base /etc/nginx /etc/nginx
177+ COPY --from=base /usr/lib/nginx/modules/*.so /usr/lib/nginx/modules/
178+ COPY --from=base /usr/sbin/nginx /usr/sbin/nginx-debug /usr/sbin/
179+ COPY --from=base /usr/share/nginx/html/* /usr/share/nginx/html/
180+ COPY --from=base /usr/bin/envsubst /usr/local/bin/envsubst
181+ COPY --from=base /etc/ssl/dhparam.pem /etc/ssl/dhparam.pem
182182
183183RUN \
184184 addgroup -S nginx \
You can’t perform that action at this time.
0 commit comments