From e680154d90c77affdc5967f984b3e23038dc9fcb Mon Sep 17 00:00:00 2001 From: CrazyBolillo Date: Sat, 14 Sep 2024 10:42:47 -0600 Subject: [PATCH] feat: expose docker port This makes images more friendly with proxys like Traefik. Closes #21. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 12450a1..f9a760f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22 +FROM golang:1.22-alpine WORKDIR /app @@ -11,4 +11,6 @@ FROM scratch COPY --from=0 /bin/eryth /bin/eryth +EXPOSE 8080 + ENTRYPOINT ["eryth"]