stuff
Some checks failed
Publish Docker Image / docker (push) Failing after 26s

This commit is contained in:
Lee 2023-10-26 11:55:02 +01:00
parent 13970037c9
commit b51814bba8

@ -13,7 +13,7 @@ RUN tar -zxvf nginx-*.tar.gz
RUN git clone https://github.com/aperezdc/ngx-fancyindex.git ngx-fancyindex RUN git clone https://github.com/aperezdc/ngx-fancyindex.git ngx-fancyindex
# Build Nginx from source # Build Nginx from source
WORKDIR /tmp/nginx-* RUN cd nginx-*
RUN ./configure --prefix=/usr/local/nginx \ RUN ./configure --prefix=/usr/local/nginx \
--sbin-path=/usr/local/sbin/nginx \ --sbin-path=/usr/local/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \ --conf-path=/etc/nginx/nginx.conf \
@ -29,7 +29,7 @@ RUN make install
FROM alpine:latest FROM alpine:latest
# Copy Nginx binary and configuration from the build stage # Copy Nginx binary and configuration from the build stage
COPY --from=build /usr/local/nginx /usr/local/nginx COPY --from=build /usr/local/sbin/nginx /usr/local/sbin/nginx
COPY --from=build /etc/nginx /etc/nginx COPY --from=build /etc/nginx /etc/nginx
# Copy custom Nginx configuration # Copy custom Nginx configuration