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/