Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
rec-in-tech Dockerfile
533 B · 21 lines
Dockerfile
at main
12345678910111213141516171819202122ARG ERLANG_VERSION=29ARG GLEAM_VERSION=v1.18.1
FROM ghcr.io/gleam-lang/gleam:${GLEAM_VERSION}-scratch as gleam
FROM docker.io/erlang:${ERLANG_VERSION}-alpine AS builderCOPY --from=gleam /bin/gleam /bin/gleamCOPY . /app/
WORKDIR /appRUN apk add --no-cache build-baseRUN gleam export erlang-shipment
FROM ghcr.io/gleam-lang/gleam:${GLEAM_VERSION}-erlang-alpine as runnerRUN apk add --no-cache wgetCOPY --from=builder /app/build/erlang-shipment /app
EXPOSE 8000WORKDIR /appENTRYPOINT ["sh", "./entrypoint.sh"]CMD ["run"]