Fix up docker

This commit is contained in:
2025-10-18 02:07:37 -04:00
parent 9c98e65c2d
commit 42d2b88e79
5 changed files with 18 additions and 59 deletions

View File

@@ -1,4 +1,10 @@
# Minimal static web container for Relibre; Caddy runs separately as a reverse proxy.
FROM nginx:alpine
COPY proxy/nginx-site.conf /etc/nginx/conf.d/default.conf
# Serve the repo root (index.html, ui/, images/, etc.)
COPY . /usr/share/nginx/html
HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD wget -qO- http://localhost/ > /dev/null || exit 1
# Basic healthcheck
HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD \
wget -qO- http://localhost/ > /dev/null || exit 1