mirror of
https://github.com/linuxserver/docker-nginx.git
synced 2026-01-09 06:41:51 +08:00
Fix auto-reload: add missing files and inotify-tools to image
This commit is contained in:
parent
26bf42523e
commit
1dece5b009
@ -17,6 +17,7 @@ RUN \
|
||||
&& awk '/^P:nginx$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||
fi && \
|
||||
apk add --no-cache \
|
||||
inotify-tools \
|
||||
memcached \
|
||||
nginx==${NGINX_VERSION} \
|
||||
nginx-mod-http-brotli==${NGINX_VERSION} \
|
||||
@ -71,6 +72,9 @@ RUN \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
rm -f /etc/nginx/conf.d/stream.conf
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 80 443
|
||||
|
||||
|
||||
@ -17,6 +17,7 @@ RUN \
|
||||
&& awk '/^P:nginx$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||
fi && \
|
||||
apk add --no-cache \
|
||||
inotify-tools \
|
||||
memcached \
|
||||
nginx==${NGINX_VERSION} \
|
||||
nginx-mod-http-brotli==${NGINX_VERSION} \
|
||||
@ -71,6 +72,9 @@ RUN \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
rm -f /etc/nginx/conf.d/stream.conf
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 80 443
|
||||
|
||||
|
||||
@ -87,6 +87,7 @@ init_diagram: |
|
||||
"nginx:latest" <- Base Images
|
||||
# changelog
|
||||
changelogs:
|
||||
- {date: "13.07.25:", desc: "Fixed auto-reload functionality."}
|
||||
- {date: "16.06.25:", desc: "Rebase to Alpine 3.22 with PHP 8.4. Add [Auto Reload](https://github.com/linuxserver/docker-mods/tree/swag-auto-reload) functionality. Drop PHP bindings for mcrypt as it is no longer maintained."}
|
||||
- {date: "17.12.24:", desc: "Rebase to Alpine 3.21."}
|
||||
- {date: "31.05.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user