1
0
mirror of https://github.com/axllent/mailpit.git synced 2024-12-26 22:56:43 +02:00

Docker: Expose default ports (1025/tcp 8025/tcp)

@see #63
This commit is contained in:
Ralph Slooten 2023-03-09 15:49:47 +13:00
parent dff5a605b4
commit 7675cd162f

View File

@ -10,11 +10,12 @@ RUN apk add --no-cache git npm && \
npm install && npm run package && \
CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/axllent/mailpit/config.Version=${VERSION}" -o /mailpit
FROM alpine:latest
COPY --from=builder /mailpit /mailpit
RUN apk add --no-cache tzdata
EXPOSE 1025/tcp 8025/tcp
ENTRYPOINT ["/mailpit"]