From 45387210570ee77987109ca5cd0de527a188ed2a Mon Sep 17 00:00:00 2001 From: teutat3s <10206665+teutat3s@users.noreply.github.com> Date: Sun, 26 Feb 2023 17:09:47 +0100 Subject: [PATCH] Update deno, lume, caddy to newer versions --- Caddyfile | 6 ++++++ Dockerfile | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Caddyfile b/Caddyfile index 4b0a9e1..9bda054 100644 --- a/Caddyfile +++ b/Caddyfile @@ -6,6 +6,12 @@ # auto_https contact mail address, for TLS certs notifications (expiry, # other problems with certs) email admins@pub.solar + + # Fix for crash on triton, see: + # https://smartos.topicbox.com/groups/smartos-discuss/Te8e92fc14c1b3f9d + servers { + protocols h1 h2 + } } # security and privacy header snippet diff --git a/Dockerfile b/Dockerfile index 9a280f8..5dab6ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM denoland/deno:alpine-1.20.3 as build-stage +FROM denoland/deno:alpine-1.29.4 as build-stage WORKDIR /app RUN apk update && apk add bash -RUN deno run -A https://deno.land/x/lume@v1.6.4/install.ts +RUN deno run -A https://deno.land/x/lume@v1.15.3/install.ts COPY . /app/ RUN ./build.sh -FROM caddy:2.4.6-alpine +FROM caddy:2.6.4-alpine COPY --from=build-stage /app/_site /srv/miom.space/ COPY --from=build-stage /app/Caddyfile /etc/caddy/Caddyfile