2022-01-16 18:32:04 +00:00
|
|
|
FROM denoland/deno:alpine as build-stage
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN apk update && apk add bash
|
|
|
|
RUN deno run -A https://deno.land/x/lume/install.ts
|
2022-01-16 19:13:03 +00:00
|
|
|
COPY . /app/
|
2022-01-16 18:32:04 +00:00
|
|
|
RUN ./build.sh
|
|
|
|
|
|
|
|
FROM caddy:2.4.6-alpine
|
|
|
|
|
|
|
|
COPY --from=build-stage /app/_site /var/www/miom.space/
|
|
|
|
COPY --from=build-stage /app/Caddyfile /etc/caddy/Caddyfile
|