2024-06-10 21:03:39 +00:00
|
|
|
FROM denoland/deno:alpine-1.43.6 as build-stage
|
2023-02-27 16:30:37 +00:00
|
|
|
|
2022-01-16 18:32:04 +00:00
|
|
|
WORKDIR /app
|
|
|
|
|
2022-01-16 19:13:03 +00:00
|
|
|
COPY . /app/
|
2022-01-16 18:32:04 +00:00
|
|
|
RUN ./build.sh
|
|
|
|
|
2024-06-10 21:03:39 +00:00
|
|
|
FROM caddy:2.8.4-alpine as app
|
2022-01-16 18:32:04 +00:00
|
|
|
|
2022-01-16 21:04:02 +00:00
|
|
|
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
|