this repo has no description
0
fork

Configure Feed

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

at main 23 lines 663 B view raw
1ARG GLEAM_VERSION=v1.15.4 2ARG ERLANG_VERSION=28.4.2 3 4# builder stage ---------------------------------------------------------------- 5FROM ghcr.io/gleam-lang/gleam:${GLEAM_VERSION}-scratch as gleam 6FROM docker.io/erlang:${ERLANG_VERSION}-alpine as builder 7 8COPY --from=gleam /bin/gleam /bin/gleam 9 10COPY . /build/server 11 12WORKDIR /build/server 13RUN gleam deps download &&\ 14 gleam export erlang-shipment 15 16# runtime stage ---------------------------------------------------------------- 17FROM docker.io/erlang:${ERLANG_VERSION}-alpine 18COPY --from=builder /build/server/build/erlang-shipment /app 19 20EXPOSE 8000 21WORKDIR /app 22ENTRYPOINT ["/app/entrypoint.sh"] 23CMD ["run"]