Compare commits

..

1 Commits

Author SHA1 Message Date
516f12f8f3 chore(deps): add renovate.json 2023-10-26 11:04:49 +00:00
2 changed files with 8 additions and 15 deletions

View File

@ -16,6 +16,8 @@ RUN git clone https://github.com/aperezdc/ngx-fancyindex.git ngx-fancyindex
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 \
--http-log-path=/var/log/nginx/access.log \
--with-http_ssl_module \
--add-module=../ngx-fancyindex \
&& make \
@ -24,21 +26,6 @@ RUN cd nginx-* && ./configure --prefix=/usr/local/nginx \
# Stage 2: Create a minimal runtime image
FROM alpine:latest
# Install runtime dependencies
RUN apk update && apk upgrade
RUN apk add pcre pcre-dev
RUN mkdir /usr/local/nginx
RUN mkdir /usr/local/nginx/logs
RUN mkdir /var/log/nginx
RUN touch /usr/local/nginx/logs/error.log
RUN touch /usr/local/nginx/logs/access.log
RUN chmod -R 770 /usr/local/nginx
RUN chmod -R 770 /var/log/nginx
# Copy Nginx binary and configuration from the build stage
COPY --from=build /usr/local/sbin/nginx /usr/local/sbin/nginx
COPY --from=build /etc/nginx /etc/nginx

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>Fascinated/renovate-config"
]
}