Skip to content

Commit

Permalink
feat: expose docker port
Browse files Browse the repository at this point in the history
This makes images more friendly with proxys like Traefik.

Closes #21.
  • Loading branch information
crazybolillo committed Sep 14, 2024
1 parent 70b9628 commit e680154
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22
FROM golang:1.22-alpine

WORKDIR /app

Expand All @@ -11,4 +11,6 @@ FROM scratch

COPY --from=0 /bin/eryth /bin/eryth

EXPOSE 8080

ENTRYPOINT ["eryth"]

0 comments on commit e680154

Please sign in to comment.