Files
coolcouch/signup/Dockerfile
Julien Calixte 15ad57a7ad chore(signup): bump Gleam to v1.16.0
gleam_stdlib now requires >= 1.14.0, breaking the v1.7.0 pin during
build. Bump to v1.16.0 — a stable release with several weeks of bake
time rather than today's v1.17.0.
2026-06-02 22:07:15 +02:00

14 lines
344 B
Docker

FROM ghcr.io/gleam-lang/gleam:v1.16.0-erlang-alpine AS builder
WORKDIR /build
COPY gleam.toml ./
RUN gleam deps download
COPY src ./src
RUN gleam export erlang-shipment
FROM erlang:27-alpine
RUN apk add --no-cache openssl-dev
WORKDIR /app
COPY --from=builder /build/build/erlang-shipment .
EXPOSE 8080
ENTRYPOINT ["/app/entrypoint.sh", "run"]