mirror of
https://github.com/axllent/mailpit.git
synced 2025-06-15 00:05:15 +02:00
@ -10,11 +10,12 @@ RUN apk add --no-cache git npm && \
|
|||||||
npm install && npm run package && \
|
npm install && npm run package && \
|
||||||
CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/axllent/mailpit/config.Version=${VERSION}" -o /mailpit
|
CGO_ENABLED=0 go build -ldflags "-s -w -X github.com/axllent/mailpit/config.Version=${VERSION}" -o /mailpit
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
COPY --from=builder /mailpit /mailpit
|
COPY --from=builder /mailpit /mailpit
|
||||||
|
|
||||||
RUN apk add --no-cache tzdata
|
RUN apk add --no-cache tzdata
|
||||||
|
|
||||||
|
EXPOSE 1025/tcp 8025/tcp
|
||||||
|
|
||||||
ENTRYPOINT ["/mailpit"]
|
ENTRYPOINT ["/mailpit"]
|
||||||
|
Reference in New Issue
Block a user