This commit is contained in:
parent
a6e04d06c2
commit
19135c85f4
|
@ -1,11 +1,11 @@
|
||||||
FROM denoland/deno:alpine-1.30.3 as build-stage
|
FROM denoland/deno:alpine-1.30.3 as build-stage
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk update && apk add bash
|
|
||||||
COPY . /app/
|
COPY . /app/
|
||||||
RUN ./build.sh
|
RUN ./build.sh
|
||||||
|
|
||||||
FROM caddy:2.6.4-alpine
|
FROM caddy:2.6.4-alpine as app
|
||||||
|
|
||||||
COPY --from=build-stage /app/_site /srv/miom.space/
|
COPY --from=build-stage /app/_site /srv/miom.space/
|
||||||
COPY --from=build-stage /app/Caddyfile /etc/caddy/Caddyfile
|
COPY --from=build-stage /app/Caddyfile /etc/caddy/Caddyfile
|
||||||
|
|
Loading…
Reference in a new issue