mirror of
https://github.com/stalwartlabs/stalwart.git
synced 2026-08-19 16:01:09 +00:00
6 lines
300 B
Docker
6 lines
300 B
Docker
FROM ghcr.io/letsencrypt/pebble-challtestsrv:latest AS upstream
|
|
|
|
FROM alpine:latest
|
|
COPY --from=upstream /app /app
|
|
ENTRYPOINT ["/bin/sh", "-c", "HOSTIP=$(getent hosts host.docker.internal 2>/dev/null | awk '{print $1}' | head -n1); exec /app -defaultIPv6 \"\" -defaultIPv4 \"${HOSTIP:-127.0.0.1}\""]
|