Merge branch 'update/deno-lume'
This commit is contained in:
commit
82f3188a15
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue