Update deno, lume, caddy to newer versions

This commit is contained in:
teutat3s 2023-02-26 17:09:47 +01:00
parent 7ac00530e6
commit 4538721057
Signed by: teutat3s
GPG key ID: 18DAE600A6BBE705
2 changed files with 9 additions and 3 deletions

View file

@ -6,6 +6,12 @@
# auto_https contact mail address, for TLS certs notifications (expiry, # auto_https contact mail address, for TLS certs notifications (expiry,
# other problems with certs) # other problems with certs)
email admins@pub.solar 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 # security and privacy header snippet

View file

@ -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 WORKDIR /app
RUN apk update && apk add bash 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/ COPY . /app/
RUN ./build.sh 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/_site /srv/miom.space/
COPY --from=build-stage /app/Caddyfile /etc/caddy/Caddyfile COPY --from=build-stage /app/Caddyfile /etc/caddy/Caddyfile