pls?
Some checks failed
Publish Docker Image / docker (push) Failing after 35s

This commit is contained in:
Lee 2023-10-26 11:59:53 +01:00
parent 5eb05fcdc4
commit bb1a051aaa

@ -13,8 +13,7 @@ RUN tar -zxvf nginx-*.tar.gz
RUN git clone https://github.com/aperezdc/ngx-fancyindex.git ngx-fancyindex
# Build Nginx from source
WORKDIR /tmp/nginx-*
RUN ./configure --prefix=/usr/local/nginx \
RUN cd nginx-* && ./configure --prefix=/usr/local/nginx \
--sbin-path=/usr/local/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
@ -39,4 +38,4 @@ COPY ./nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
# Start Nginx when the container runs
CMD ["/usr/local/sbin/nginx", "-g", "daemon off;"]
CMD ["/usr/local/sbin/nginx", "-g", "daemon off;"]