diff options
author | Alan Pearce | 2023-07-07 20:09:57 +0200 |
---|---|---|
committer | Alan Pearce | 2023-07-07 20:09:57 +0200 |
commit | 3885eb15f33e967dfa83981af58ccac7af62fe4b (patch) | |
tree | d4cd59551b37eb659f3e205a58d4e26e4977d6b4 /Dockerfile | |
parent | 8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447 (diff) | |
download | website-3885eb15f33e967dfa83981af58ccac7af62fe4b.tar.lz website-3885eb15f33e967dfa83981af58ccac7af62fe4b.tar.zst website-3885eb15f33e967dfa83981af58ccac7af62fe4b.zip |
Validate Caddyfile during build
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 1 |
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"] |