From 80b9020e3597887e7f5cda8294a4ce00f41570e6 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Sun, 1 Mar 2026 15:43:41 -0600 Subject: [PATCH] add runtime-only Dockerfile for server-side builds Dockerfile.runtime assumes the binary is already built (zig build) and just copies it into debian:bookworm-slim. Used by the remote deploy flow where zig compiles natively on the x86_64 server. Co-Authored-By: Claude Opus 4.6 --- Dockerfile.runtime | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile.runtime diff --git a/Dockerfile.runtime b/Dockerfile.runtime new file mode 100644 index 0000000..1c4865b --- /dev/null +++ b/Dockerfile.runtime @@ -0,0 +1,7 @@ +FROM debian:bookworm-slim +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/* +COPY zig-out/bin/zlay /usr/local/bin/zlay +RUN mkdir -p /data/events /data/collection-index +ENV RELAY_DATA_DIR=/data/events +EXPOSE 3000 3001 +ENTRYPOINT ["/usr/local/bin/zlay"] -- 2.51.2