13 lines
319 B
Docker
13 lines
319 B
Docker
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.15.3/install.ts
|
|
COPY . /app/
|
|
RUN ./build.sh
|
|
|
|
FROM caddy:2.6.4-alpine
|
|
|
|
COPY --from=build-stage /app/_site /srv/miom.space/
|
|
COPY --from=build-stage /app/Caddyfile /etc/caddy/Caddyfile
|