miom.space/Dockerfile

13 lines
318 B
Docker
Raw Normal View History

2022-04-01 09:04:06 +00:00
FROM denoland/deno:alpine-1.20.3 as build-stage
2022-01-16 18:32:04 +00:00
WORKDIR /app
RUN apk update && apk add bash
2022-04-01 08:50:03 +00:00
RUN deno run -A https://deno.land/x/lume@v1.6.4/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 /srv/miom.space/
2022-01-16 18:32:04 +00:00
COPY --from=build-stage /app/Caddyfile /etc/caddy/Caddyfile