Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
# syntax=docker/dockerfile:1
#
# Minimal runtime image for locally-built service binaries.
#
# Built by `cargo x runtime-image` (xtask) and tagged `macro-local-runtime:dev`.
# Service binaries are NOT baked in — they are bind-mounted read-only at
# /app/out by the generated compose override, so this image never needs
# rebuilding when Rust code changes. This is the `base` stage of docker/Dockerfile.dev
# with the in-Docker `cargo build` and binary COPY removed.
FROM denoland/deno:2.9.6 AS deno
FROM debian:trixie-slim
# docker-cli, for the agent harness's local container provider: it drives the
# host's daemon over the socket the compose file mounts, so sandboxes are this
# container's siblings. The client only - the daemon is the host's.
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates dumb-init curl docker-cli \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY --from=deno /usr/bin/deno /usr/local/bin/deno
ENV DENO_BINARY=/usr/local/bin/deno
ENV PORT=8080
EXPOSE 8080
# No CMD: the generated compose override supplies `command: ["/app/out/<bin>"]`
# per service, exactly as the old services_bundle image did.
ENTRYPOINT ["dumb-init", "--"]