Files
docker-images/agentmail-mcp/Dockerfile
T
woggioni b1ca8c3afc
CI / Build agentmail-mcp docker images (push) Failing after 30s
added agentmail-mcp image
2026-04-19 07:41:11 +08:00

15 lines
450 B
Docker

FROM alpine:3.23
ARG VERSION
RUN --mount=type=cache,target=/var/cache/apk apk add python3 pipx
ADD --chmod=755 ./entrypoint.sh /usr/local/bin/entrypoint.sh
RUN addgroup -S agentmail
RUN adduser -D -S -h /var/lib/agentmail -G agentmail agentmail
WORKDIR /var/lib/agentmail
USER agentmail
RUN pipx install mcp-streamablehttp-proxy
RUN pipx install agentmail-mcp@${VERSION}
ENV SERVER_HOST="0.0.0.0"
ENV SERVER_PORT="8080"
ENTRYPOINT ["entrypoint.sh"]