all repos — website @ 3885eb15f33e967dfa83981af58ccac7af62fe4b

My website

Validate Caddyfile during build
Alan Pearce alan@alanpearce.eu
Fri, 07 Jul 2023 20:09:57 +0200
commit

3885eb15f33e967dfa83981af58ccac7af62fe4b

parent

8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M DockerfileDockerfile
@@ -16,3 +16,4 @@ EXPOSE 9091/tcp
 
 ENV SITE_ROOT=/srv
+RUN ["/usr/bin/caddy", "validate", "--config", "/etc/caddy/Caddyfile"]