forked from CWAD/relibre
Fix up docker
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user