Skip to content

Commit c2c2f54

Browse files
committed
Fix auto-reload: add missing files and inotify-tools to image
1 parent 26bf425 commit c2c2f54

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN \
1717
&& awk '/^P:nginx$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
1818
fi && \
1919
apk add --no-cache \
20+
inotify-tools \
2021
memcached \
2122
nginx==${NGINX_VERSION} \
2223
nginx-mod-http-brotli==${NGINX_VERSION} \
@@ -71,6 +72,9 @@ RUN \
7172
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
7273
rm -f /etc/nginx/conf.d/stream.conf
7374

75+
# copy local files
76+
COPY root/ /
77+
7478
# ports and volumes
7579
EXPOSE 80 443
7680

Dockerfile.aarch64

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN \
1717
&& awk '/^P:nginx$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
1818
fi && \
1919
apk add --no-cache \
20+
inotify-tools \
2021
memcached \
2122
nginx==${NGINX_VERSION} \
2223
nginx-mod-http-brotli==${NGINX_VERSION} \
@@ -71,6 +72,9 @@ RUN \
7172
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
7273
rm -f /etc/nginx/conf.d/stream.conf
7374

75+
# copy local files
76+
COPY root/ /
77+
7478
# ports and volumes
7579
EXPOSE 80 443
7680

root/etc/s6-overlay/s6-rc.d/user/contents.d/svc-nginx-auto-reload

Whitespace-only changes.

0 commit comments

Comments
 (0)