2024-04-14 14:54:42 +02:00
|
|
|
FROM denoland/deno:alpine-1.41.3 as build-stage
|
2023-02-27 17:30:37 +01:00
|
|
|
|
2022-01-16 19:32:04 +01:00
|
|
|
WORKDIR /app
|
|
|
|
|
2022-01-16 20:13:03 +01:00
|
|
|
COPY . /app/
|
2022-01-16 19:32:04 +01:00
|
|
|
RUN ./build.sh
|
|
|
|
|
2023-02-27 17:30:37 +01:00
|
|
|
FROM caddy:2.6.4-alpine as app
|
2022-01-16 19:32:04 +01:00
|
|
|
|
2022-01-16 22:04:02 +01:00
|
|
|
COPY --from=build-stage /app/_site /srv/miom.space/
|
2022-01-16 19:32:04 +01:00
|
|
|
COPY --from=build-stage /app/Caddyfile /etc/caddy/Caddyfile
|