Merge branch 'update/deno-lume'

This commit is contained in:
teutat3s 2023-02-26 18:36:56 +01:00
commit 82f3188a15
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,
# 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

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
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