From e483e91e46ca9a6b5a5fb7590e6719c52fda523f Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 30 Dec 2021 21:12:13 +0100 Subject: [PATCH] add custom caddy file --- Caddyfile | 2 +- Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index e4f27e5..4faee39 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,4 +1,4 @@ -:8088 { +:8080 { root * /usr/share/caddy file_server encode gzip zstd diff --git a/Dockerfile b/Dockerfile index dd66318..e6b80a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,8 @@ RUN npm install \ FROM caddy:2.4.6-alpine LABEL maintainer="marco.blessing@googlemail.com" +COPY --from=builder /src/Caddyfile /etc/caddy/Caddyfile COPY --from=builder src/public /usr/share/caddy/ HEALTHCHECK --interval=15s --timeout=3s \ - CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1 + CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1 #RUN ls -la /usr/share/caddy/