⭐ Moe-Counter Compatible Website Hit Counter Written in Gleam mayu.due.moe
hit-counter svg moe
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

build(docker): switch to earthly builder

Fuwn 17639516 a148357c

+41 -25
-25
Dockerfile
··· 1 - FROM ghcr.io/gleam-lang/gleam:v1.2.0-erlang-alpine as builder 2 - 3 - WORKDIR /mayu/ 4 - 5 - COPY src/ /mayu/src/ 6 - COPY themes/ /mayu/themes/ 7 - COPY gleam.toml /mayu/ 8 - COPY manifest.toml /mayu/ 9 - 10 - RUN apk add --no-cache build-base 11 - 12 - RUN gleam build \ 13 - && cd build/ \ 14 - && gleam export erlang-shipment 15 - 16 - FROM ghcr.io/gleam-lang/gleam:v1.2.0-erlang-alpine 17 - 18 - COPY --from=builder /mayu/build/erlang-shipment/ /mayu/erlang-shipment/ 19 - COPY --from=builder /mayu/themes /mayu/themes/ 20 - 21 - WORKDIR /mayu/ 22 - 23 - ENTRYPOINT ["./erlang-shipment/entrypoint.sh"] 24 - 25 - CMD ["run"]
+41
Earthfile
··· 1 + VERSION 0.8 2 + 3 + all: 4 + BUILD +docker 5 + 6 + docker: 7 + ARG tag=latest 8 + 9 + FROM ghcr.io/gleam-lang/gleam:v1.2.0-erlang-alpine 10 + 11 + COPY +build/erlang-shipment/ /mayu/erlang-shipment/ 12 + COPY themes/ /mayu/themes/ 13 + 14 + WORKDIR /mayu/ 15 + 16 + ENTRYPOINT ["./erlang-shipment/entrypoint.sh"] 17 + 18 + CMD ["run"] 19 + 20 + SAVE IMAGE --push fuwn/mayu:${tag} 21 + 22 + deps: 23 + FROM ghcr.io/gleam-lang/gleam:v1.2.0-erlang-alpine 24 + 25 + RUN apk add --no-cache build-base 26 + 27 + build: 28 + FROM +deps 29 + 30 + WORKDIR /mayu/ 31 + 32 + COPY src/ /mayu/src/ 33 + COPY gleam.toml /mayu/ 34 + COPY manifest.toml /mayu/ 35 + 36 + RUN gleam build \ 37 + && cd build/ \ 38 + && gleam export erlang-shipment 39 + 40 + SAVE ARTIFACT /mayu/build/erlang-shipment/ 41 +