about summary refs log tree commit diff stats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAlan Pearce2023-07-07 20:09:57 +0200
committerAlan Pearce2023-07-07 20:09:57 +0200
commit3885eb15f33e967dfa83981af58ccac7af62fe4b (patch)
treed4cd59551b37eb659f3e205a58d4e26e4977d6b4 /Dockerfile
parent8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447 (diff)
downloadwebsite-3885eb15f33e967dfa83981af58ccac7af62fe4b.tar.lz
website-3885eb15f33e967dfa83981af58ccac7af62fe4b.tar.zst
website-3885eb15f33e967dfa83981af58ccac7af62fe4b.zip
Validate Caddyfile during build
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index ca10c88..a963128 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,3 +16,4 @@ COPY public /srv
 EXPOSE 9091/tcp
 
 ENV SITE_ROOT=/srv
+RUN ["/usr/bin/caddy", "validate", "--config", "/etc/caddy/Caddyfile"]