Skip to content
Repos

mologram

Dockerfile 437 B8 lines Opens in site

Directory Raw Download

# mologram daemon image (ADR 0004, ADR 0014). The binaries are fully static, so the image holds nothing else.
# Build with: make image  (stripped binaries come from make dist)
FROM scratch
COPY dist/mologram /usr/local/bin/mologram
COPY dist/mologramd /usr/local/bin/mologramd
ENV XDG_DATA_HOME=/data XDG_RUNTIME_DIR=/run/mologram MOLOGRAM_CONFIG=/data/.env.json
VOLUME ["/data", "/run/mologram"]
ENTRYPOINT ["/usr/local/bin/mologramd"]
26.8ms